[+] Core : products and carriers tax rules are associated to shop

This commit is contained in:
rGaillard
2012-02-24 09:26:18 +00:00
parent 51cae793fd
commit 5793e30caa
20 changed files with 250 additions and 69 deletions
+1 -1
View File
@@ -2317,7 +2317,7 @@ class AdminControllerCore extends Controller
$check_box = Tools::getValue('checkBox'.Tools::toCamelCase($type, true).'Asso_'.$table);
foreach ($check_box as $id_asso_object => $row)
{
if (!(int)$id_asso_object)
if ($id_object)
$id_asso_object = $id_object;
foreach ($row as $id_shop => $value)
$assos[] = array('id_object' => (int)$id_asso_object, 'id_'.$type => (int)$id_shop);