mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
checking interval pref now on each page request, as setting it to 0 gives a division by zero error
This commit is contained in:
parent
d515ec7100
commit
6a059157d1
@ -1600,7 +1600,7 @@ class bocal
|
||||
*/
|
||||
function check_set_default_prefs()
|
||||
{
|
||||
if (($set = $GLOBALS['egw']->session->appsession('default_prefs_set','calendar')))
|
||||
if ($this->cal_prefs['interval'] && ($set = $GLOBALS['egw']->session->appsession('default_prefs_set','calendar')))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user