// BugFix : Display errors when no carriers available

This commit is contained in:
mDeflotte committed 2011-12-12 10:21:56 +00:00
1 parent cf06d1eb92
commit ac24656af1
6 files changed
+33 -5

No files matched your search

+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)