// fix missing context
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7738 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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