diff --git a/htdocs/core/ajax/box.php b/htdocs/core/ajax/box.php index fbb8fc759ad..7826747769b 100644 --- a/htdocs/core/ajax/box.php +++ b/htdocs/core/ajax/box.php @@ -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); }