From 41ad9bdb7f96353b99bbd69619542831f4f10448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= Date: Wed, 4 Sep 2013 12:13:31 +0200 Subject: [PATCH] frenglish is bad --- htdocs/product/stock/replenish.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php index fa7663e1932..d615a7ddc07 100644 --- a/htdocs/product/stock/replenish.php +++ b/htdocs/product/stock/replenish.php @@ -47,7 +47,7 @@ $snom = GETPOST('snom', 'alpha'); $sall = GETPOST('sall', 'alpha'); $type = GETPOST('type','int'); $tobuy = GETPOST('tobuy', 'int'); -$salerte = GETPOST('salerte', 'alpha'); +$salert = GETPOST('salert', 'alpha'); $sortfield = GETPOST('sortfield','alpha'); $sortorder = GETPOST('sortorder','alpha'); @@ -71,7 +71,7 @@ if (isset($_POST['button_removefilter']) || isset($_POST['valid'])) { $sref = ''; $snom = ''; $sal = ''; - $salerte = ''; + $salert = ''; } //orders creation @@ -208,7 +208,7 @@ $sql .= ', p.duration, p.tobuy, p.seuil_stock_alerte'; $sql .= ', p.desiredstock'; $sql .= ' HAVING (p.desiredstock > SUM(s.reel) or SUM(s.reel) is NULL)'; $sql .= ' AND p.desiredstock > 0'; -if ($salerte == 'on') { +if ($salert == 'on') { $sql .= ' AND SUM(s.reel) < p.seuil_stock_alerte AND p.seuil_stock_alerte is not NULL'; } $sql .= $db->order($sortfield,$sortorder); @@ -370,7 +370,7 @@ if ($resql) { ''; } echo ' ', - '' . $langs->trans('AlertOnly') . ' ', + '' . $langs->trans('AlertOnly') . ' ', ' ', ' ', ' ',