git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7527 b9a71923-0436-4b27-9f14-aed3839534dd

This commit is contained in:
rGaillard
2011-07-06 13:07:38 +00:00
parent 6a9a0f89a3
commit cca6578076
+1 -1
View File
@@ -1837,7 +1837,7 @@ abstract class AdminTabCore
$id_shop = Shop::getCurrentShop(true);
if ($id_lang)
$defaultValue = ($obj->id AND isset($obj->{$key}[(int)$id_shop][$id_lang])) ? $obj->{$key}[(int)$id_shop][$id_lang] : '';
$defaultValue = ($obj->id AND isset($obj->{$key}[$id_lang])) ? $obj->{$key}[$id_lang] : '';
else
$defaultValue = isset($obj->{$key}) ? $obj->{$key} : '';