// BugFix : Display errors when no carriers available

This commit is contained in:
mDeflotte
2011-12-12 10:21:56 +00:00
parent b5932eaf16
commit dd0eee2f76
6 changed files with 33 additions and 5 deletions
+3
View File
@@ -2280,6 +2280,9 @@ class AdminControllerCore extends Controller
$assos = $assos_data[0];
$type = $assos_data[1];
if (!$type)
return;
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.$this->table.'_'.$type.($id_object ? ' WHERE `'.$this->identifier.'`='.(int)$id_object : ''));
foreach ($assos as $asso)
+1
View File
@@ -1607,6 +1607,7 @@ class CartCore extends ObjectModel
* ),
* ),
* );
* If there are no carriers available for an address, return an empty array
*/
public function getDeliveryOptionList(Country $default_country = null, $flush = false)
{