Ignore:
Timestamp:
Jan 6, 2012 5:55:07 AM (17 months ago)
Author:
alec
Message:
  • Fix typo in timezone handling, more exception catching
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/main.inc

    r5732 r5733  
    10731073    // convert to the right timezone 
    10741074    $stz = date_default_timezone_get(); 
    1075     $tz = new DateTimeZone($convert ? $RCMAIL->config->get('timezones') : 'GMT'); 
     1075    $tz = new DateTimeZone($convert ? $RCMAIL->config->get('timezone') : 'GMT'); 
    10761076    $date->setTimezone($tz); 
    10771077    date_default_timezone_set($tz->getName()); 
Note: See TracChangeset for help on using the changeset viewer.