mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Don't set icon_url if icon is not set.
Fixes browser displaying missing image if Icon = 'none'
This commit is contained in:
parent
bad85f749a
commit
b8bf2f7b2d
@ -197,7 +197,10 @@ class admin_categories
|
||||
}
|
||||
$content['msg'] = $msg;
|
||||
if(!$content['appname']) $content['appname'] = $appname;
|
||||
$content['icon_url'] = $content['base_url'] . $content['data']['icon'];
|
||||
if($content['data']['icon'])
|
||||
{
|
||||
$content['icon_url'] = $content['base_url'] . $content['data']['icon'];
|
||||
}
|
||||
|
||||
$sel_options['icon'] = self::get_icons();
|
||||
$sel_options['owner'] = array();
|
||||
|
Loading…
Reference in New Issue
Block a user