From 160997cbbe08d9c4ec0694c917a237b2426f3c05 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Jul 2012 12:31:37 +0200 Subject: [PATCH] Fix: Bad test --- htdocs/product/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index b7694adb377..73ac24c874f 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -144,7 +144,7 @@ if (empty($reshook)) { $error=0; - if (GETPOST('libelle')) + if (! GETPOST('libelle')) { $mesg='
'.$langs->trans('ErrorFieldRequired',$langs->transnoentities('Label')).'
'; $action = "create";