mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix PHP 8.x error, if previous non-numeric textsize was set
This commit is contained in:
parent
a20a85309b
commit
4f5c259078
@ -121,7 +121,7 @@ class pixelegg_framework extends Api\Framework\Ajax
|
|||||||
}
|
}
|
||||||
";
|
";
|
||||||
$textsize = $GLOBALS['egw_info']['user']['preferences']['common']['textsize'];
|
$textsize = $GLOBALS['egw_info']['user']['preferences']['common']['textsize'];
|
||||||
if (!empty($textsize) && $textsize != '12')
|
if (!empty($textsize) && is_numeric($textsize) && $textsize != '12')
|
||||||
{
|
{
|
||||||
$iconSize = $textsize+4;
|
$iconSize = $textsize+4;
|
||||||
$ret['app_css'] .= "
|
$ret['app_css'] .= "
|
||||||
@ -235,4 +235,4 @@ body #egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_category_active{background-colo
|
|||||||
|
|
||||||
return parent::login_screen($extra_vars, $change_passwd);
|
return parent::login_screen($extra_vars, $change_passwd);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user