From fbf13ec2c73339e2743a4322d4de6380e33eceb9 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 2 Sep 2015 14:09:19 +0200 Subject: [PATCH] Fix: wrong logical operator --- htdocs/commande/orderstoinvoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php index 930fee833fa..9a98b389bd0 100644 --- a/htdocs/commande/orderstoinvoice.php +++ b/htdocs/commande/orderstoinvoice.php @@ -505,7 +505,7 @@ if ($action == 'create' && !$error) //Mode liste -if (($action != 'create' && $action != 'add') || !$error) +if (($action != 'create' && $action != 'add') && !$error) { llxHeader(); ?>