mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +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
|
// fall through
|
||||||
case 'gen_src':
|
case 'gen_src':
|
||||||
default :
|
default :
|
||||||
|
$src = $resource['picture_src'];
|
||||||
$picture = $GLOBALS['egw_info']['server']['webserver_url'].$this->resource_icons;
|
$picture = $GLOBALS['egw_info']['server']['webserver_url'].$this->resource_icons;
|
||||||
$picture .= strpos($src,'.') !== false ? $src : 'generic.png';
|
$picture .= strpos($src,'.') !== false ? $src : 'generic.png';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user