// test git
Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap Conflicts: controllers/admin/AdminImportController.php
This commit is contained in:
@@ -146,6 +146,7 @@
|
||||
$('#csv_file_uploader').hide();
|
||||
$('#csv_files_history').hide();
|
||||
}
|
||||
|
||||
function csv_unselect() {
|
||||
$('#csv_file_selected').hide();
|
||||
$('#csv_file_uploader').show();
|
||||
|
||||
@@ -540,7 +540,7 @@ class AdminImportControllerCore extends AdminController
|
||||
$entity_selected = (int)$this->context->cookie->entity_selected;
|
||||
|
||||
$csv_selected = '';
|
||||
if (isset($this->context->cookie->csv_selected) && file_exists(_PS_ADMIN_DIR_.'/import/'.$this->context->cookie->csv_selected))
|
||||
if (isset($this->context->cookie->csv_selected) && file_exists(_PS_ADMIN_DIR_.'/import/'.base64_decode($this->context->cookie->csv_selected)))
|
||||
$csv_selected = base64_decode($this->context->cookie->csv_selected);
|
||||
else
|
||||
$this->context->cookie->csv_selected = $csv_selected;
|
||||
|
||||
Reference in New Issue
Block a user