Index: trunk/phase3/includes/DBDataObject.php |
— | — | @@ -895,7 +895,7 @@ |
896 | 896 | |
897 | 897 | if ( $collapse ) { |
898 | 898 | if ( count( $fields ) === 1 ) { |
899 | | - $objects = array_map( function( $object ) { return array_shift( $object ); } , $objects ); |
| 899 | + $objects = array_map( 'array_shift', $objects ); |
900 | 900 | } |
901 | 901 | elseif ( count( $fields ) === 2 ) { |
902 | 902 | $o = array(); |