Merge branch 'fix-adminProduct'

This commit is contained in:
Marion Muszynski 2016-09-22 09:47:41 +02:00
commit 18193e6836

View File

@ -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`