From 7b0280aeab2218526b5b2a01b9b9c50ea5455c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Wed, 27 Feb 2013 18:33:36 +0100 Subject: [PATCH] [-] Core: bad operator used in PaymentModule #PSCFV-8040 --- classes/PaymentModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index 071ccbbc7..be88e48bd 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -320,7 +320,7 @@ abstract class PaymentModuleCore extends Module foreach ($order_detail_list as $key => $order_detail) { $order = $order_list[$key]; - if (!$order_creation_failed & isset($order->id)) + if (!$order_creation_failed && isset($order->id)) { if (!$secure_key) $message .= '
'.Tools::displayError('Warning: the secure key is empty, check your payment account before validation');