mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
0bf8fe1002
commit
a8a01cfb07
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user