[*] Classes : Db::autoExecute() call are now replaced by Db::insert() or Db::update()

This commit is contained in:
rMalie
2012-01-23 17:41:02 +00:00
parent 08c7b79a27
commit cc841b6969
29 changed files with 251 additions and 235 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ abstract class AdminTabCore
foreach ($category as $categ_id => $categ)
if ($categ_id != 1)
$rowList[] = array('id_category' => $categ_id, 'id_group' => $object->id);
Db::getInstance()->autoExecute(_DB_PREFIX_.'category_group', $rowList, 'INSERT');
Db::getInstance()->insert('category_group', $rowList);
}
// Save and stay on same form
if (Tools::isSubmit('submitAdd'.$this->table.'AndStay'))