Fix: Bad test

This commit is contained in:
Laurent Destailleur 2012-07-28 12:31:37 +02:00
parent bf94d05293
commit 160997cbbe

View File

@ -144,7 +144,7 @@ if (empty($reshook))
{
$error=0;
if (GETPOST('libelle'))
if (! GETPOST('libelle'))
{
$mesg='<div class="error">'.$langs->trans('ErrorFieldRequired',$langs->transnoentities('Label')).'</div>';
$action = "create";