This commit is contained in:
@@ -1837,7 +1837,7 @@ abstract class AdminTabCore
|
|||||||
$id_shop = Shop::getCurrentShop(true);
|
$id_shop = Shop::getCurrentShop(true);
|
||||||
|
|
||||||
if ($id_lang)
|
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
|
else
|
||||||
$defaultValue = isset($obj->{$key}) ? $obj->{$key} : '';
|
$defaultValue = isset($obj->{$key}) ? $obj->{$key} : '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user