From 2f3375b2375118cbba57ccfb971b8becb064c332 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 10 Oct 2012 07:50:35 +0000 Subject: [PATCH] [-] CORE : fixed bug #PSCFV-4860 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17812 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Link.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/Link.php b/classes/Link.php index b45ad5675..30d5a9950 100644 --- a/classes/Link.php +++ b/classes/Link.php @@ -351,6 +351,7 @@ class LinkCore */ public function getImageLink($name, $ids, $type = null) { + $not_default = false; // legacy mode or default image $theme = ((Shop::isFeatureActive() && file_exists(_PS_PROD_IMG_DIR_.$ids.($type ? '-'.$type : '').'-'.(int)Context::getContext()->shop->id_theme.'.jpg')) ? '-'.Context::getContext()->shop->id_theme : ''); if ((Configuration::get('PS_LEGACY_IMAGES')