Changeset 1864 for sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php
- Timestamp:
- 09/06/2015 06:19:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php
r1792 r1864 476 476 usort( $project_tree, array( $this, '_sort_name_callback' ) ); 477 477 foreach ( $project_tree as $key => $project ) { 478 if ( $project->sub_projects) {478 if ( isset( $project->sub_projects ) ) { 479 479 usort( $project->sub_projects, array( $this, '_sort_name_callback' ) ); 480 $project->sub_projects = array_values( $project->sub_projects ); 480 481 } 481 $project->sub_projects = array_values( $project->sub_projects );482 482 } 483 483 $project_tree = array_values( $project_tree );
Note: See TracChangeset
for help on using the changeset viewer.