From ed29c49369aa469fce5dcf1229c191a56d2a2e8f 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 --- 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')