Changeset 5752 for trunk/prototype/modules/calendar/interceptors
- Timestamp:
- 03/19/12 16:38:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/interceptors/DBMapping.php
r5746 r5752 110 110 $occ = array(); 111 111 112 if( $occurrences = self::checkOccurrences( $start, $end , intval($criteria['deepness']) + 1) )112 if( $occurrences = self::checkOccurrences( $start, $end ) ) 113 113 foreach( $occurrences as $id => $occurrence ) 114 114 { … … 188 188 } 189 189 190 public function checkOccurrences( $start, $end , $deep){190 public function checkOccurrences( $start, $end ){ 191 191 192 192 $ranges = Controller::find( array( 'concept' => 'repeatRange' ), array( 'rangeStart', 'rangeEnd' ), array( 'filter' => array( '=', 'user', Config::me("uidNumber") ) ) ); … … 217 217 218 218 if( !isset( $result[ $id ] ) ) 219 $result[ $id ] =array();219 $result[ $id ] = !$initialized ? array( $repeat['startTime'] ) : array(); 220 220 221 221 if( !$initialized ) … … 329 329 330 330 $return = array(); 331 331 332 332 while($result = $r->next()) 333 333 {
Note: See TracChangeset
for help on using the changeset viewer.