Fix: Le nombre total de page était parfois faux
This commit is contained in:
parent
9e067eef2c
commit
29d703eb16
@ -169,7 +169,8 @@ if ($account > 0)
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$mesg='';
|
$mesg='';
|
||||||
$nbpage=round($total_lines/$viewline)+($total_lines % $viewline > 0?1:0); // Nombre de page total
|
|
||||||
|
$nbpage=floor($total_lines/$viewline)+($total_lines % $viewline > 0?1:0); // Nombre de page total
|
||||||
if ($limitsql > $viewline)
|
if ($limitsql > $viewline)
|
||||||
{
|
{
|
||||||
$mesg.='<a href="account.php?account='.$acct->id.'&page='.($page+1).'">'.img_previous().'</a>';
|
$mesg.='<a href="account.php?account='.$acct->id.'&page='.($page+1).'">'.img_previous().'</a>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user