From 024e62a58274718d2a0a02c6cc1e1739044755cd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 23 May 2020 20:27:25 +0200 Subject: [PATCH] Fix navigation --- htdocs/product/stock/movement_card.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/htdocs/product/stock/movement_card.php b/htdocs/product/stock/movement_card.php index 03171fbeac5..ea72983e810 100644 --- a/htdocs/product/stock/movement_card.php +++ b/htdocs/product/stock/movement_card.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2017 Laurent Destailleur + * Copyright (C) 2004-2020 Laurent Destailleur * Copyright (C) 2005-2014 Regis Houssin * Copyright (C) 2015 Juanjo Menent * Copyright (C) 2018 Ferran Marcet @@ -502,21 +502,10 @@ if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST)) } } -if (empty($search_inventorycode)) -{ - $sql .= $db->plimit($limit + 1, $offset); -} -else -{ - $limit = 0; -} - //print $sql; $resql = $db->query($sql); -if (!empty($search_inventorycode)) $limit = $db->num_rows($resql); - if ($resql) { $product = new Product($db); @@ -952,7 +941,6 @@ if ($resql) $arrayofuniqueproduct = array(); - while ($i < ($limit ? min($num, $limit) : $num)) { $objp = $db->fetch_object($resql);