[-] CORE : fixed bug #PSCFV-4860

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17812 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-10-10 07:50:35 +00:00
parent db82bbaad5
commit 2f3375b237
+1
View File
@@ -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')