fixed a bug where you could not cut the pages that come in webgui by default.
This commit is contained in:
parent
a95df299d9
commit
8e7dbc8e02
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ sub _traversePageTree {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_cutPage {
|
||||
if ($session{page}{pageId} < 26) {
|
||||
if ($session{page}{pageId} < 26 && $session{page}{pageId} >= 0) {
|
||||
return WebGUI::Privilege::vitalComponent();
|
||||
} elsif (WebGUI::Privilege::canEditPage()) {
|
||||
WebGUI::SQL->write("update page set parentId=2, "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue