mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Resources: Fix display of old category icons in resource list
This commit is contained in:
parent
4ab170541e
commit
42f8c9182e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user