[-] BO : fix #PSCFV-5008

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17876 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-10-16 13:14:14 +00:00
parent e910a791dd
commit c1a4f91af6
@@ -762,6 +762,7 @@ class AdminImportControllerCore extends AdminController
$entity->{$key}[$id_lang_tmp] = $value; $entity->{$key}[$id_lang_tmp] = $value;
} }
else else
if (!empty($infos))
$entity->{$key} = isset(self::$validators[$key]) ? call_user_func(self::$validators[$key], $infos) : $infos; $entity->{$key} = isset(self::$validators[$key]) ? call_user_func(self::$validators[$key], $infos) : $infos;
return true; return true;