mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Null is also not OK for icon
This commit is contained in:
parent
35a0132161
commit
129eb91b3d
@ -82,7 +82,8 @@ egw.extend('links', egw.MODULE_GLOBAL, function() {
|
||||
break;
|
||||
case 'icon':
|
||||
var app_data = this.app(_app);
|
||||
if (typeof app_data != 'undefined' && typeof app_data.icon != 'undefined')
|
||||
if (typeof app_data != 'undefined' &&
|
||||
typeof app_data.icon != 'undefined' && app_data.icon != null)
|
||||
{
|
||||
reg.icon = (typeof app_data.icon_app != 'undefined' ? app_data.icon_app : _app)+'/'+app_data.icon;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user