// fix missing context
This commit is contained in:
1 parent
3a97b4b6f3
commit
b7fb4cd8b9
1 file changed
+1
-1
@@ -2911,7 +2911,7 @@ class AdminProducts extends AdminTab
|
|||||||
function displayFormImages($obj, $token = NULL)
|
function displayFormImages($obj, $token = NULL)
|
||||||
{
|
{
|
||||||
global $attributeJs, $images;
|
global $attributeJs, $images;
|
||||||
|
$context = Context::getContext();
|
||||||
$countImages = (int)Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'image WHERE id_product = '.(int)$obj->id);
|
$countImages = (int)Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'image WHERE id_product = '.(int)$obj->id);
|
||||||
echo '
|
echo '
|
||||||
<div class="tab-page" id="step2">
|
<div class="tab-page" id="step2">
|
||||||
|
|||||||
Reference in new issue
Block a user