mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
- MFB
This commit is contained in:
parent
af3476a982
commit
35c85a23f1
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class SqliteNestedset implements RecursiveIterator
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$menu_iterator = new RecursiveIteratorIterator(new SqliteNestedset($db), RIT_SELF_FIRST);
|
$menu_iterator = new RecursiveIteratorIterator(new SqliteNestedset($db), RecursiveIteratorIterator::SELF_FIRST);
|
||||||
foreach($menu_iterator as $entry) {
|
foreach($menu_iterator as $entry) {
|
||||||
echo $menu_iterator->getDepth() . $entry . "\n";
|
echo $menu_iterator->getDepth() . $entry . "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue