[-] FO : #PSCFV-3268 - Fix bug with cache cartrule badly fill

// This fix is not "clean". It would be intersting to take more time to found a better solution
This commit is contained in:
mDeflotte committed 2012-07-24 13:08:44 +00:00
1 parent 346c9664d4
commit f4fa8bd1b1
2 files changed
+12

No files matched your search

+3
View File
@@ -195,6 +195,9 @@ abstract class PaymentModuleCore extends Module
foreach ($data['package_list'] as $id_package)
$package_list[$id_address][$id_package]['id_carrier'] = $id_carrier;
// Make sure CarRule caches are empty
CartRule::cleanCache();
foreach ($package_list as $id_address => $packageByAddress)
foreach ($packageByAddress as $id_package => $package)
{