// Little BugFix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11033 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-12-08 09:00:29 +00:00
parent fded1dfe2d
commit 0d917153da
2 changed files with 5 additions and 4 deletions
+5 -3
View File
@@ -1520,9 +1520,11 @@ class CartCore extends ObjectModel
foreach ($products_grouped_by_carriers as $data)
{
foreach ($data['carrier_list'] as $id_carrier)
if (!isset($carrier_count[$id_carrier]))
$carrier_count[$id_carrier] = 0;
$carrier_count[$id_carrier]++;
{
if (!isset($carrier_count[$id_carrier]))
$carrier_count[$id_carrier] = 0;
$carrier_count[$id_carrier]++;
}
}
}
arsort($carrier_count);
-1
View File
@@ -25,7 +25,6 @@
* International Registered Trademark & Property of PrestaShop SA
*/
include 'mine.php';
/* Debug only */
@ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', true);