[-] FO : fixed bug #PSCFV-4625

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17810 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-10-09 16:17:35 +00:00
parent ddaf48c5d6
commit 0f142d94e5
+2 -1
View File
@@ -419,7 +419,8 @@ class LinkCore
public function getCatImageLink($name, $id_category, $type = null)
{
return ($this->allow == 1) ? (__PS_BASE_URI__.'c/'.$id_category.($type ? '-'.$type : '').'/'.$name.'.jpg') : (_THEME_CAT_DIR_.$id_category.($type ? '-'.$type : '').'.jpg');
$uri_path = ($this->allow == 1) ? (__PS_BASE_URI__.'c/'.$id_category.($type ? '-'.$type : '').'/'.$name.'.jpg') : (_THEME_CAT_DIR_.$id_category.($type ? '-'.$type : '').'.jpg');
return $this->protocol_content.Tools::getMediaServer($uri_path).$uri_path;
}
/**