Index: trunk/extensions/Lingo/LingoTree.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $tree = &$this->mTree; |
76 | 76 | |
77 | 77 | // end of path, store description; end of recursion |
78 | | - while ( $step = array_shift( $path ) ) { |
| 78 | + while ( ($step = array_shift( $path )) !== null ) { |
79 | 79 | |
80 | 80 | if ( !isset( $tree[$step] ) ) { |
81 | 81 | $tree[$step] = array(); |