From 40245302805f230ae18e586902165ce3e5a0ac74 Mon Sep 17 00:00:00 2001 From: Alex Aragon Date: Wed, 14 Jun 2017 14:34:07 -0500 Subject: [PATCH] fix icon custom --- main/inc/lib/display.lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index 0743c2032b..98ed810d8f 100755 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -739,14 +739,13 @@ class Display } $size_extra = $size.'/'; + $icon = $w_code_path.'img/'.$image; $theme = 'themes/chamilo/icons/'; if ($loadThemeIcon) { $theme = 'themes/'.api_get_visual_theme().'/icons/'; if (is_file($alternateCssPath.$theme.$image)) { $icon = $alternateWebCssPath.$theme.$image; - } else { - $icon = $w_code_path.'img/'.$image; } // Checking the theme icons folder example: app/Resources/public/css/themes/chamilo/icons/XXX if (is_file($alternateCssPath.$theme.$size_extra.$image)) {