mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 20:04:30 +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','');
|
$this->tpl->set_var('upper_tabs','');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (html::$ua_mobile)
|
if (!($max_icons=$GLOBALS['egw_info']['user']['preferences']['common']['max_icons']))
|
||||||
{
|
|
||||||
$max_icons = 0;
|
|
||||||
$this->tpl->set_var('app_icons','');
|
|
||||||
}
|
|
||||||
elseif (!($max_icons=$GLOBALS['egw_info']['user']['preferences']['common']['max_icons']))
|
|
||||||
{
|
{
|
||||||
$max_icons = 30;
|
$max_icons = 30;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user