diff --git a/calendar/preferences.php b/calendar/preferences.php index 5fff0cded9..965a3bd48c 100644 --- a/calendar/preferences.php +++ b/calendar/preferences.php @@ -19,6 +19,7 @@ if ($submit) { $phpgw->preferences->preferences_delete("byapp",$phpgw_info["user"]["account_id"],"calendar"); + $phpgw->preferences->preferences_delete("byappvar",$phpgw_info["user"]["account_id"],"common|defaultcalendar"); $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"weekdaystarts","calendar"); $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"workdaystarts","calendar"); @@ -48,7 +49,7 @@ nextmatchs->alternate_row_color($tr_color); ?>