forked from extern/egroupware
Resources: Support custom category icons
This commit is contained in:
parent
62a02c61b6
commit
589b18b26f
@ -1016,7 +1016,7 @@ class resources_bo
|
||||
$picture = Api\Categories::id2name($resource['cat_id'], 'data');
|
||||
if($picture['icon'])
|
||||
{
|
||||
$picture = !$fullsize?$GLOBALS['egw_info']['server']['webserver_url'].self::ICON_PATH.'/'.$picture['icon']:self::ICON_PATH.'/'.$picture['icon'];
|
||||
$picture = Api\Image::find('vfs',$picture['icon']) ?: self::ICON_PATH.'/'.$picture['icon'];
|
||||
break;
|
||||
}
|
||||
// fall through
|
||||
|
Loading…
Reference in New Issue
Block a user