mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Resources: Support custom category icons
This commit is contained in:
parent
98219a2517
commit
81e918d010
@ -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