From 8f8730903dca4fe0797f4e8ea41c65440615114b Mon Sep 17 00:00:00 2001 From: Kiran Date: Tue, 21 Apr 2015 22:54:54 +0530 Subject: [PATCH 1/3] [B558] Removed printing debug. --- catalog/includes/modules/actions/cart_add.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/catalog/includes/modules/actions/cart_add.php b/catalog/includes/modules/actions/cart_add.php index f94bc9e35..b273cee4e 100644 --- a/catalog/includes/modules/actions/cart_add.php +++ b/catalog/includes/modules/actions/cart_add.php @@ -54,11 +54,7 @@ function execute() { lc_redirect(lc_href_link(FILENAME_PRODUCTS, $lC_Product->getKeyword())); } } - -echo "
";
-print_r($_POST);
-echo "
"; -die('77'); + if (isset($_POST['quantity']) && is_array($_POST['quantity'])) { foreach($_POST['quantity'] as $product_id => $quantity) { $lC_ShoppingCart->add((int)$product_id, (int)$quantity); From 3744cfece981cb189b0ed6f725eb5febccbd2b29 Mon Sep 17 00:00:00 2001 From: Kiran Date: Tue, 21 Apr 2015 23:43:24 +0530 Subject: [PATCH 2/3] [B559] Wrong file path in update script - fixed path issue. --- catalog/admin/includes/applications/updates/classes/updates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/admin/includes/applications/updates/classes/updates.php b/catalog/admin/includes/applications/updates/classes/updates.php index 1ab3e14a8..16ce524b2 100644 --- a/catalog/admin/includes/applications/updates/classes/updates.php +++ b/catalog/admin/includes/applications/updates/classes/updates.php @@ -777,7 +777,7 @@ public static function fullBackup() { if (utility::execEnabled() === true && utility::isLinux() === true) { try { //exec(CFG_APP_ZIP . ' -r ' . DIR_FS_WORK . 'updates/' . $backup_file . ' ' . DIR_FS_CATALOG . '* -x \*.zip\*'); - exec(CFG_APP_ZIP . ' -r ' . DIR_FS_WORK . 'updates/' . $backup_file . ' ' . DIR_FS_CATALOG . '* -x "/home/loadedne/www/sandbox/datazen/www/loaded7/catalog/images/products/*" -x "*.cache" -x "*.zip" -x "php_error*" -x "*.gif" -x "*.jpg" -x "*.jpeg" -x "*.png" -x "*.sql" -x "*.tgz" -x "*.tar" -x "*.gz"'); + exec(CFG_APP_ZIP . ' -r ' . DIR_FS_WORK . 'updates/' . $backup_file . ' ' . DIR_FS_CATALOG . '* -x "' . DIR_FS_CATALOG . DIR_WS_IMAGES . 'products/*" -x "*.cache" -x "*.zip" -x "php_error*" -x "*.gif" -x "*.jpg" -x "*.jpeg" -x "*.png" -x "*.sql" -x "*.tgz" -x "*.tar" -x "*.gz"'); } catch ( Exception $e ) { return array('rpcStatus' => 0); } From a4cd4c649d9dcc3cd941fd25c08a8ed8037c1d5c Mon Sep 17 00:00:00 2001 From: datazen Date: Tue, 21 Apr 2015 19:30:36 -0400 Subject: [PATCH 3/3] updated version --- catalog/includes/version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/includes/version.txt b/catalog/includes/version.txt index 532815bcb..e5024eca0 100644 --- a/catalog/includes/version.txt +++ b/catalog/includes/version.txt @@ -1 +1 @@ -7.003.3.2|04/17/2015 +7.003.3.3|04/21/2015