fixed division by zero, by removing not longer needed mobile code

This commit is contained in:
Ralf Becker 2011-07-09 16:53:24 +00:00
parent 8e83e41263
commit 84727a4a49

View File

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