- Timestamp:
- 04/24/12 10:56:43 (12 years ago)
- File:
-
- 1 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']);
Note: See TracChangeset
for help on using the changeset viewer.