yiiext/nested-set-behavior — Issue #2: Non-recursive tree traversal example
Author: rikius
Created: 2012-01-12 15:44:17+00:00
State: open

i think there is error in that example

at this line

for($i=$level-$model->level;$i;$i--)

model is undefined so we do not know the model level.