Fix fatal error when date.timezone isn't set (#1488546)

Conflicts:

	program/steps/settings/func.inc
pull/17/head
Aleksander Machniak 12 years ago
parent d44092430e
commit 1d0c3f5575

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix fatal error when date.timezone isn't set (#1488546)
- Update to TinyMCE 3.5.4.1
- Better icons with distinct shapes for priority columns (#1488377)
- Show dedicated icon for multipart/report messages (#1488524)

@ -184,9 +184,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');
$now = new DateTime();
$zones = array();
foreach (DateTimeZone::listIdentifiers() as $i => $tzs) {
try {
$tz = new DateTimeZone($tzs);

Loading…
Cancel
Save