Changeset 5908 for trunk/src/includes/common/classes.php
- Timestamp:
- 08/11/2015 08:17:53 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/classes.php
r5829 r5908 374 374 // If we're at the max depth and the current element still has children, loop over those 375 375 // and display them at this level to prevent them being orphaned to the end of the list. 376 if ( ( $max_depth <= (int) $depth + 1 ) && isset( $children_elements[ $id] ) ) {377 foreach ( $children_elements[ $id] as $child ) {376 if ( ( $max_depth <= (int) $depth + 1 ) && isset( $children_elements[ $id ] ) ) { 377 foreach ( $children_elements[ $id ] as $child ) { 378 378 $this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output ); 379 379 } 380 unset( $children_elements[ $id] );380 unset( $children_elements[ $id ] ); 381 381 } 382 382 }
Note: See TracChangeset
for help on using the changeset viewer.