mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
fixed division by zero, by removing not longer needed mobile code
This commit is contained in:
parent
235f608fb9
commit
02566ff159
@ -507,12 +507,7 @@ class idots_framework extends egw_framework
|
||||
$this->tpl->set_var('upper_tabs','');
|
||||
}
|
||||
|
||||
if (html::$ua_mobile)
|
||||
{
|
||||
$max_icons = 0;
|
||||
$this->tpl->set_var('app_icons','');
|
||||
}
|
||||
elseif (!($max_icons=$GLOBALS['egw_info']['user']['preferences']['common']['max_icons']))
|
||||
if (!($max_icons=$GLOBALS['egw_info']['user']['preferences']['common']['max_icons']))
|
||||
{
|
||||
$max_icons = 30;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user