forked from extern/egroupware
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()
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user