[-] BO : fixed bug #PSCFV-5251 - unable deactivate product via CSV import
This commit is contained in:
1 parent
bc2f6ba1f3
commit
5f15072eda
1 file changed
+1
-1
@@ -763,7 +763,7 @@ class AdminImportControllerCore extends AdminController
|
||||
$entity->{$key}[$id_lang_tmp] = $value;
|
||||
}
|
||||
else
|
||||
if (!empty($infos))
|
||||
if (!empty($infos) || $infos == '0') // ($infos == '0') => if you want to disable a product by using "0" in active because empty('0') return true
|
||||
$entity->{$key} = isset(self::$validators[$key]) ? call_user_func(self::$validators[$key], $infos) : $infos;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user