From cf7c2db379d5be04329c3352b127afc6c868f7e6 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 5 Jan 2012 14:09:51 +0000 Subject: [PATCH] [-] MO : #PSFV-236 - Fixed little problem with form vars named "ajax" --- modules/blockcart/blockcart.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/blockcart/blockcart.php b/modules/blockcart/blockcart.php index 24b0a8851..07a00a5ed 100644 --- a/modules/blockcart/blockcart.php +++ b/modules/blockcart/blockcart.php @@ -108,7 +108,7 @@ class BlockCart extends Module $output = '

'.$this->displayName.'

'; if (Tools::isSubmit('submitBlockCart')) { - $ajax = Tools::getValue('ajax'); + $ajax = Tools::getValue('cart_ajax'); if ($ajax != 0 AND $ajax != 1) $output .= '
'.$this->l('Ajax : Invalid choice.').'
'; else @@ -129,9 +129,9 @@ class BlockCart extends Module
- + - +

'.$this->l('Activate AJAX mode for cart (compatible with the default theme)').'