several bug fixes
This commit is contained in:
parent
22d3df0749
commit
decab22c2f
9 changed files with 352 additions and 24 deletions
|
|
@ -156,7 +156,7 @@ sub view {
|
|||
push(@{$vars{"position".$i."_loop"}},{
|
||||
id=>$child->getId,
|
||||
content=>$child->view
|
||||
});
|
||||
}) if $child->canView;
|
||||
push(@found, $child->getId);
|
||||
}
|
||||
}
|
||||
|
|
@ -169,7 +169,7 @@ sub view {
|
|||
push(@{$vars{"position1_loop"}},{
|
||||
id=>$child->getId,
|
||||
content=>$child->view
|
||||
});
|
||||
}) if $child->canView;
|
||||
}
|
||||
}
|
||||
$vars{showAdmin} = ($session{var}{adminOn} && $self->canEdit);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue