From 029664ac1daf5ec76fdb81e254537f2438c29d98 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 12 Nov 2021 13:08:48 -0700 Subject: [PATCH] Calendar: Fix validation error when setting ical export timezone preference --- calendar/inc/class.calendar_hooks.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_hooks.inc.php b/calendar/inc/class.calendar_hooks.inc.php index 2fc5b5d24d..ef0c68a091 100644 --- a/calendar/inc/class.calendar_hooks.inc.php +++ b/calendar/inc/class.calendar_hooks.inc.php @@ -240,7 +240,7 @@ class calendar_hooks $freebusy_help .= ' ' . $freebusy_url; // Timezone for file exports - $export_tzs = array('0' => lang('Use Event TZ')); + $export_tzs = array(['value' => '0', 'label' => lang('Use Event TZ')]); $export_tzs += Api\DateTime::getTimezones(); } $link_title_options = calendar_bo::get_link_options();