[-] BO : added important check of the default language for ObjectModel multilang properties

This commit is contained in:
Damien Metzger
2013-03-18 17:48:17 +01:00
parent e9c618e55b
commit ce4148b89a
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -645,7 +645,7 @@ class AdminImportControllerCore extends AdminController
do $uniqid_path = _PS_UPLOAD_DIR_.uniqid(); while (file_exists($uniqid_path));
file_put_contents($uniqid_path, $field);
$tab = '';
if(!empty($uniqid_path))
if (!empty($uniqid_path))
{
$fd = fopen($uniqid_path, 'r');
$tab = fgetcsv($fd, MAX_LINE_SIZE, $separator);