From fddc7a6a75bc94957fcf44568f32eae7d59a8b35 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Tue, 26 Jul 2011 14:55:04 +0000 Subject: [PATCH] // fix missing context git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7738 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/tabs/AdminProducts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/tabs/AdminProducts.php b/admin-dev/tabs/AdminProducts.php index 3aea8cdc4..665e7a26a 100644 --- a/admin-dev/tabs/AdminProducts.php +++ b/admin-dev/tabs/AdminProducts.php @@ -2911,7 +2911,7 @@ class AdminProducts extends AdminTab function displayFormImages($obj, $token = NULL) { global $attributeJs, $images; - + $context = Context::getContext(); $countImages = (int)Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'image WHERE id_product = '.(int)$obj->id); echo '