[-] BO : Bad entity pre selected in AdminImport
This commit is contained in:
1 parent
10d6e97aca
commit
0f4781053b
1 file changed
+3
-3
@@ -511,10 +511,10 @@ class AdminImportControllerCore extends AdminController
|
||||
for ($i = 0; $i < $nb_table; $i++)
|
||||
$data[$i] = $this->generateContentTable($i, $nb_column, $handle, $this->separator);
|
||||
|
||||
if ($entity_selected = (int)Tools::getValue('entity'))
|
||||
$this->context->cookie->entity_selected = $entity_selected;
|
||||
$this->context->cookie->entity_selected = (int)Tools::getValue('entity');
|
||||
|
||||
if ($csv_selected = Tools::getValue('csv'))
|
||||
$this->context->cookie->csv_selected = $csv_selected;
|
||||
$this->context->cookie->csv_selected = Tools::getValue('csv');
|
||||
|
||||
$this->tpl_view_vars = array(
|
||||
'import_matchs' => Db::getInstance()->executeS('SELECT * FROM '._DB_PREFIX_.'import_match'),
|
||||
|
||||
Reference in new issue
Block a user