fixed bug 649907
This commit is contained in:
parent
e701d2b46d
commit
72a552f5f7
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ use WebGUI::Session;
|
||||||
sub traversePageTreeSynopsis {
|
sub traversePageTreeSynopsis {
|
||||||
my ($sth, $output, $parent_id, $current_level, $max_level);
|
my ($sth, $output, $parent_id, $current_level, $max_level);
|
||||||
($parent_id, $current_level, $max_level) = @_;
|
($parent_id, $current_level, $max_level) = @_;
|
||||||
|
$maxLevel = 99 unless ($maxLevel);
|
||||||
if ($max_level && ($current_level >= $max_level)) {
|
if ($max_level && ($current_level >= $max_level)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue