forked from extern/egroupware
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