From 91506a392cdcd826dcad161deae6bea3101ec21f Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 9 Oct 2012 16:17:35 +0000 Subject: [PATCH] [-] FO : fixed bug #PSCFV-4625 --- classes/Link.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Link.php b/classes/Link.php index 474c1bc2d..b45ad5675 100644 --- a/classes/Link.php +++ b/classes/Link.php @@ -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; } /**