From 42f8c9182eb9d1f38dc32392fc83cc8260d313e4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 1 Apr 2021 11:12:44 -0600 Subject: [PATCH] Resources: Fix display of old category icons in resource list --- resources/inc/class.resources_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/inc/class.resources_bo.inc.php b/resources/inc/class.resources_bo.inc.php index 66edfc3a0e..6f873c0733 100755 --- a/resources/inc/class.resources_bo.inc.php +++ b/resources/inc/class.resources_bo.inc.php @@ -1016,7 +1016,7 @@ class resources_bo $picture = Api\Categories::id2name($resource['cat_id'], 'data'); if($picture['icon']) { - $picture = Api\Image::find('vfs',$picture['icon']) ?: self::ICON_PATH.'/'.$picture['icon']; + $picture = Api\Image::find('vfs',$picture['icon']) ?: $GLOBALS['egw_info']['server']['webserver_url'].self::ICON_PATH.'/'.$picture['icon']; break; } // fall through