Fix bad limit
This commit is contained in:
parent
09520d814a
commit
2802be2ed5
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ $page = is_numeric($page) ? $page : 0;
|
|||
$page = $page == -1 ? 0 : $page;
|
||||
if (! $sortfield) $sortfield="p.ref";
|
||||
if (! $sortorder) $sortorder="ASC";
|
||||
$offset = $conf->liste_limit * $page ;
|
||||
$offset = $limit * $page ;
|
||||
$pageprev = $page - 1;
|
||||
$pagenext = $page + 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue