mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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');
|
$picture = Api\Categories::id2name($resource['cat_id'], 'data');
|
||||||
if($picture['icon'])
|
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;
|
break;
|
||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
|
Loading…
Reference in New Issue
Block a user