Ignore:
Timestamp:
04/02/12 18:07:04 (10 years ago)
Author:
acoutinho
Message:

Ticket #2587 - Bugs encontrados na nova agenga(expressoCalendar)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/export.php

    r5715 r5863  
    2727    $eventLinks = Controller::find(array('concept' => 'calendarToSchedulable') , array('schedulable') , array('filter' => array( '=' , 'calendar' , $params['calendar']))); 
    2828    $calendar = Controller::read(array('concept' => 'calendar' , 'id' => $params['calendar'])); 
     29 
    2930    $eventsIds = array(); 
    3031    foreach ($eventLinks as &$eventLink) 
    3132       $eventsIds[] = $eventLink['schedulable']; 
    3233 
    33     $events = Controller::find(array('concept' => 'schedulable') , false , array('filter' => array('IN','id',$eventsIds) , 'deepness' => '2' ));         
     34    $events = Controller::find(array('concept' => 'schedulable') , false , array('filter' => array('IN','id',$eventsIds) , 'deepness' => '2', 'timezones' => array($calendar['id'] => $calendar['timezone']) ));         
    3435    $ics = Controller::format( array( 'service' => 'iCal' ) , $events , array('defaultTZI' => $calendar['timezone']) ); 
    3536 
Note: See TracChangeset for help on using the changeset viewer.