Empty commit

This commit is contained in:
Git 2012-06-07 08:00:16 +00:00
parent 0bf8fe1002
commit a8a01cfb07

View File

@ -886,8 +886,8 @@ function page_limit($PerPage, $DefaultResult = 1) {
error(0);
}
$Page = $_GET['page'];
if ($Page == 0) { $Page = 1; }
$Limit=$PerPage*$_GET['page']-$PerPage . ', ' . $PerPage;
if ($Page <= 0) { $Page = 1; }
$Limit=$PerPage*$Page-$PerPage . ', ' . $PerPage;
}
return array($Page,$Limit);
}