From 518049bed419fe20c72377953e88d3a9fbfd6140 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 10 Dec 2016 19:26:58 +0100 Subject: [PATCH] Fix pagination --- htdocs/product/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 24df0f65715..fd3970ac0ea 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -835,8 +835,8 @@ else $i++; } - print_barre_liste('', $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, '', '', '', 'paginationatbottom'); - + print_barre_liste('', $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, '', 0, '', 'paginationatbottom', $limit); + $db->free($resql); print "";