summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-28 09:21:48 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-28 09:21:48 +0200
commitceaaebbc8c99711e143673d845d029a362bc848e (patch)
treea243d4ee45deaa227f342349c9e6f37343f43d6a /program
parentd86aa138d09c772f9506bf3c0ca2c65a8f33bdfa (diff)
Fix fatal error when date.timezone isn't set (#1488546)
Diffstat (limited to 'program')
-rw-r--r--program/steps/settings/func.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index 7b5534e5d..59bf788e5 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -181,7 +181,6 @@ function rcmail_user_prefs($current=null)
$select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id));
$select_timezone->add(rcube_label('autodetect'), 'auto');
- $now = new DateTime();
foreach (DateTimeZone::listIdentifiers() as $i => $tzs) {
try {
$tz = new DateTimeZone($tzs);