Fix PHP error

This commit is contained in:
Laurent Destailleur
2017-03-13 02:14:42 +01:00
parent b8b32ae2e3
commit ca80c58853

View File

@@ -73,7 +73,7 @@ if ($boxorder && $zone != '' && $userid > 0)
if ($result > 0)
{
$langs->load("boxes");
if (empty(GETPOST('closing')))
if (! GETPOST('closing'))
{
setEventMessages($langs->trans("BoxAdded"), null);
}