invalid the cache if saved_states get updated, otherwise changed states will not be saved correctly in some cases

This commit is contained in:
Christian Binder 2010-01-07 10:41:51 +00:00
parent 7a948de39e
commit fc63d67fb9

View File

@ -380,7 +380,7 @@ class calendar_ui
if ($saved_states != $this->cal_prefs['saved_states']) if ($saved_states != $this->cal_prefs['saved_states'])
{ {
$GLOBALS['egw']->preferences->add('calendar','saved_states',$saved_states); $GLOBALS['egw']->preferences->add('calendar','saved_states',$saved_states);
$GLOBALS['egw']->preferences->save_repository(false,'user',false); $GLOBALS['egw']->preferences->save_repository(false,'user',true);
} }
} }
} }