mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
* resources: fix for missing/not loaded pictures for resources in default/images/resource_icons/
This commit is contained in:
parent
39c133fe2e
commit
2f4a486c10
@ -663,6 +663,7 @@ class resources_bo
|
||||
// fall through
|
||||
case 'gen_src':
|
||||
default :
|
||||
$src = $resource['picture_src'];
|
||||
$picture = $GLOBALS['egw_info']['server']['webserver_url'].$this->resource_icons;
|
||||
$picture .= strpos($src,'.') !== false ? $src : 'generic.png';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user