bugfix: user was redirected to the clipboard after cutting a page
This commit is contained in:
parent
e1320cebb6
commit
c8e752d80b
2 changed files with 4 additions and 1 deletions
|
|
@ -87,7 +87,8 @@
|
|||
- Snippets can now take up to 9 optional parameters as replacements similar
|
||||
to the SQL macro. Thanks to Andreas Ljunggren.
|
||||
- bugfix [ 990710 ] Users can't change own passwords
|
||||
|
||||
- Fixed a bug where the user was redirected to the clipboard after cutting a
|
||||
page.
|
||||
|
||||
|
||||
6.0.3
|
||||
|
|
|
|||
|
|
@ -243,7 +243,9 @@ sub www_cutPage {
|
|||
|
||||
} elsif (WebGUI::Page::canEdit()) {
|
||||
$page = WebGUI::Page->getPage($session{page}{pageId});
|
||||
my $parentId = $page->get("parentId") || 1;
|
||||
$page->cut;
|
||||
WebGUI::Session::refreshPageInfo($parentId);
|
||||
return "";
|
||||
} else {
|
||||
return WebGUI::Privilege::insufficient();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue