diff --git a/calendar/preferences.php b/calendar/preferences.php index 2db50ede5a..5def340caa 100644 --- a/calendar/preferences.php +++ b/calendar/preferences.php @@ -31,7 +31,7 @@ $phpgw->preferences->add('calendar','workdayends'); $phpgw->preferences->add('calendar','defaultcalendar'); $phpgw->preferences->add('calendar','defaultfilter'); - if ($mainscreen_showevents) + if ($mainscreen_showevents == True) { $phpgw->preferences->add('calendar','mainscreen_showevents'); } @@ -39,7 +39,7 @@ { $phpgw->preferences->delete('calendar','mainscreen_showevents'); } - if ($send_updates) + if ($send_updates == True) { $phpgw->preferences->add('calendar','send_updates'); } @@ -48,6 +48,15 @@ $phpgw->preferences->delete('calendar','send_updates'); } + if ($display_status == True) + { + $phpgw->preferences->add('calendar','display_status'); + } + else + { + $phpgw->preferences->delete('calendar','display_status'); + } + $phpgw->preferences->save_repository(True); Header('Location: '.$phpgw->link('/preferences/index.php')); @@ -95,7 +104,7 @@ // echo '