// Fixed import button in AdminImport

This commit is contained in:
Damien Metzger
2013-12-02 18:53:37 +01:00
parent 804fe56ba0
commit 2316bb50ba
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -3030,9 +3030,8 @@ class AdminImportControllerCore extends AdminController
$this->errors[] = Tools::displayError('This functionality has been disabled.');
return;
}
/* PrestaShop demo mode*/
if (Tools::getValue('import'))
if (Tools::getValue('submitImportFile'))
{
// Check if the CSV file exist
if (Tools::getValue('csv'))