diff options
author | neoraider <devnull@localhost> | 2006-09-20 23:05:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-09-20 23:05:03 +0200 |
commit | d02a8a4f7f23bd63b8d541e3f4290b72c4e15ec0 (patch) | |
tree | c8f75ea22c2c68b902705878dd29959eed6f7fa9 /code | |
parent | 83fe4d9da1edd100ff3035c74df4e08446885178 (diff) | |
download | neon-d02a8a4f7f23bd63b8d541e3f4290b72c4e15ec0.tar neon-d02a8a4f7f23bd63b8d541e3f4290b72c4e15ec0.zip |
Ein kleiner Fix f?r verschachtelte Menues.
Diffstat (limited to 'code')
-rw-r--r-- | code/nav.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/code/nav.inc.php b/code/nav.inc.php index d5ede02..02d9127 100644 --- a/code/nav.inc.php +++ b/code/nav.inc.php @@ -13,9 +13,9 @@ $res->MoveNext(); } - foreach($this->entries as $entry) + foreach($this->entries as $key => $entry) if($entry->parent != 0) - $this->entries[$entry->parent]->Add($entry); + $this->entries[$entry->parent]->Add(&$this->entries[$key]); } function ParseEntries() { @@ -67,7 +67,7 @@ } function Add($entry) { - array_push($this->children, $entry); + array_push($this->children, &$entry); } function Parse() { |