From 996f9cd2b7ae0e008f3307f08b1d699b942d531c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 23 Jan 2014 15:49:07 +0000 Subject: [PATCH] workaround for value 0 always selects first option in et2_widget_selectbox --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 5d2603604d..e065fd1720 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1941,7 +1941,7 @@ window.egw_LAB.wait(function() { } for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i; $sel_options['tz'] = $tz; - $content['tz'] = $content['tz'] ? $content['tz'] : 0; + $content['tz'] = $content['tz'] ? $content['tz'] : '0'; if (count($this->content_types) > 1) { foreach($this->content_types as $type => $data)