From 034f673f52351d5292e1754f5c7a4f38f7f7ef64 Mon Sep 17 00:00:00 2001 From: liedekef <liedekef> Date: Wed, 10 Jan 2007 15:01:00 +0000 Subject: [PATCH] small type fix to get the correct list of stock movements --- htdocs/product/stock/mouvement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 5fdfa5cda10..9491022f589 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -68,7 +68,7 @@ $resql = $db->query($sql) ; if ($resql) { - $num = $db->num_rows($result); + $num = $db->num_rows($resql); if ($_GET["id"]) { -- GitLab