Fix error : exception 'ErrorException' with message 'Undefined variable: cookie' in /Library/WebServer/Documents/bebeboutik/override/classes/PaymentModule.php:409
This commit is contained in:
parent
1dc2a7f6b2
commit
7b276ae733
@ -2,7 +2,7 @@
|
||||
class PaymentModule extends PaymentModuleCore {
|
||||
public function validateOrder($id_cart, $id_order_state, $amountPaid, $paymentMethod = 'Unknown', $message = NULL, $extraVars = array(), $currency_special = NULL, $dont_touch_amount = false, $secure_key = false)
|
||||
{
|
||||
global $cart;
|
||||
global $cart, $cookie;
|
||||
|
||||
$cart = new Cart((int)($id_cart));
|
||||
// Does order already exists ?
|
||||
|
Loading…
Reference in New Issue
Block a user