From b040fa269b8b4a6dc7b7a170134e1e63bd68ac47 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Thu, 22 Sep 2016 09:47:14 +0200 Subject: [PATCH] fix --- adm/tabs/AdminProducts.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adm/tabs/AdminProducts.php b/adm/tabs/AdminProducts.php index 60324aa1..3a97fb29 100755 --- a/adm/tabs/AdminProducts.php +++ b/adm/tabs/AdminProducts.php @@ -4477,9 +4477,12 @@ class AdminProducts extends AdminTab } public function getFieldValue($obj, $data, $id_lang = 0) { + global $cookie; + if ($id_lang == 0) { $id_lang = (int)($cookie->id_lang); } + $customs_data = Db::getInstance()->getRow(' SELECT `nc8`, `id_country` FROM `'._DB_PREFIX_.'product_customs`