* resources: fix for missing/not loaded pictures for resources in default/images/resource_icons/

This commit is contained in:
Klaus Leithoff 2012-04-24 06:56:43 +00:00
parent 39c133fe2e
commit 2f4a486c10

View File

@ -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';
}