aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/controller
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/install/controller')
-rw-r--r--phpBB/phpbb/install/controller/helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/install/controller/helper.php b/phpBB/phpbb/install/controller/helper.php
index a16298c525..569938be09 100644
--- a/phpBB/phpbb/install/controller/helper.php
+++ b/phpBB/phpbb/install/controller/helper.php
@@ -267,10 +267,10 @@ class helper
protected function sort_navigation_level($nav_array)
{
$sorted = array();
- foreach ($nav_array as $nav)
+ foreach ($nav_array as $key => $nav)
{
$order = (isset($nav['order'])) ? $nav['order'] : 0;
- $sorted[$order][] = $nav;
+ $sorted[$order][$key] = $nav;
}
// Linearization of navigation array