Changeset 6011
- Timestamp:
- 04/24/12 10:56:43 (12 years ago)
- Location:
- trunk/prototype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/interceptors/DBMapping.php
r5998 r6011 178 178 unset( $repeat['exceptions'] ); 179 179 } 180 180 181 181 $lastExceptions = Controller::find( array( 'concept' => 'repeatOccurrence' ), array("occurrence") , array( 'filter' => array('AND', array( '=', 'repeat', $id ) , array( '=', 'exception', 1 ) ) )); 182 182 183 183 //Recurepa as execeções anteriores caso exista 184 if(isset($lastExceptions) && count($lastExceptions) )184 if(isset($lastExceptions) && count($lastExceptions) && $lastExceptions) 185 185 foreach($lastExceptions as $key => $value) 186 186 array_push($exceptions, $lastExceptions[$key]['occurrence']); -
trunk/prototype/services/iCal.php
r6006 r6011 50 50 $eTime = new DateTime( '@'.(int)($v['endTime'] / 1000) , $timezone ); 51 51 $eTime->setTimezone($apTimezoneOBJ); 52 53 if( isset($v['repeat']))52 53 if( ( isset($v['repeat']) ) && ( $v['repeat']['frequency'] != 'none' ) ) 54 54 { 55 55 $repeat = array();
Note: See TracChangeset
for help on using the changeset viewer.