// BugFix : Display errors when no carriers available
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user