diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-06-28 09:26:59 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-06-28 09:26:59 +0200 |
commit | a60d139d873b77852658ddac04279b6f1e5570ce (patch) | |
tree | 7ef07bc2ffa3bffd008c127fb2152b9b727e222b | |
parent | 669747a81c4b2ff823d1f20dc50899163c0a8a4a (diff) |
Define array variable in case none of zones is valid (shouldn't happen)
-rw-r--r-- | program/steps/settings/func.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 59bf788e5..f44a96dab 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -181,6 +181,7 @@ function rcmail_user_prefs($current=null) $select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id)); $select_timezone->add(rcube_label('autodetect'), 'auto'); + $zones = array(); foreach (DateTimeZone::listIdentifiers() as $i => $tzs) { try { $tz = new DateTimeZone($tzs); |