Browse Source

Fix PHP error

Laurent Destailleur 8 years ago
parent
commit
ca80c58853
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/ajax/box.php

+ 1 - 1
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);
 	    }