git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7527 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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} : '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user