Changeset 7772 for trunk


Ignore:
Timestamp:
01/18/13 17:18:55 (11 years ago)
Author:
cristiano
Message:

Ticket #3189 - Diferença de fusos horarios do Expresso em servidores diferentes usando o mesmo banco

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.functions.inc.php

    r7673 r7772  
    2121 
    2222                    $timezone_index = $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['timezone']; 
    23                     $user_timezone = $zones[$timezone_index]; 
     23                    $user_timezone = isset($zones[$timezone_index]) ? $zones[$timezone_index] : 'America/Sao_Paulo' ; 
    2424 
    2525                    $tz = new DateTimeZone($user_timezone); 
Note: See TracChangeset for help on using the changeset viewer.