[-] BO : Bad entity pre selected in AdminImport

This commit is contained in:
gRoussac
2013-09-24 17:08:33 +02:00
parent 10d6e97aca
commit 0f4781053b
+3 -3
View File
@@ -511,10 +511,10 @@ class AdminImportControllerCore extends AdminController
for ($i = 0; $i < $nb_table; $i++) for ($i = 0; $i < $nb_table; $i++)
$data[$i] = $this->generateContentTable($i, $nb_column, $handle, $this->separator); $data[$i] = $this->generateContentTable($i, $nb_column, $handle, $this->separator);
if ($entity_selected = (int)Tools::getValue('entity')) $this->context->cookie->entity_selected = (int)Tools::getValue('entity');
$this->context->cookie->entity_selected = $entity_selected;
if ($csv_selected = Tools::getValue('csv')) 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( $this->tpl_view_vars = array(
'import_matchs' => Db::getInstance()->executeS('SELECT * FROM '._DB_PREFIX_.'import_match'), 'import_matchs' => Db::getInstance()->executeS('SELECT * FROM '._DB_PREFIX_.'import_match'),