mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
* resources: fix for missing/not loaded pictures for resources in default/images/resource_icons/
This commit is contained in:
parent
857336e696
commit
89fa80a750
@ -660,6 +660,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