From 8d6591ac2f2c70ab566f42ba29e1fefb1ebf14a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Fri, 5 Jul 2013 16:42:59 +0200 Subject: [PATCH] Better comment --- htdocs/product/stock/replenish.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php index eda18d09f42..7b351d336e4 100644 --- a/htdocs/product/stock/replenish.php +++ b/htdocs/product/stock/replenish.php @@ -68,7 +68,7 @@ $offset = $limit * $page ; */ //orders creation -//could go in the lib +//FIXME: could go in the lib if ($action == 'order') { $linecount = GETPOST('linecount', 'int'); $box = 0; @@ -159,7 +159,6 @@ $sql .= ' ON p.rowid = pf.fk_product'; $sql .= ' LEFT JOIN ' . MAIN_DB_PREFIX . 'product_stock as s'; $sql .= ' ON p.rowid = s.fk_product'; $sql.= ' WHERE p.entity IN (' . getEntity("product", 1) . ')'; - if ($sall) { $sql .= ' AND (p.ref LIKE "%'.$db->escape($sall).'%" '; $sql .= 'OR p.label LIKE "%'.$db->escape($sall).'%" '; @@ -363,7 +362,8 @@ if ($resql) { ' ', ' ', '', - '', + '', '', '';