From b5b05b18801dfe2f72b761066a839426a8ce856e Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Wed, 11 Aug 2004 14:31:05 +0000 Subject: [PATCH] Fixing a bug where op=movePageLeft wouldn't work. --- lib/WebGUI/Page.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Page.pm b/lib/WebGUI/Page.pm index 2b36a29cf..4d55a7417 100644 --- a/lib/WebGUI/Page.pm +++ b/lib/WebGUI/Page.pm @@ -1236,7 +1236,7 @@ sub moveUp { parentId end where - nestedSetRight between ". $self->get('nestedSetLeft') ." and ". $mother->get('nestedSetRight')." + nestedSetRight between ". $self->get('nestedSetLeft') ." and ". $mother->get('nestedSetRight')." or nestedSetLeft between ". $self->get('nestedSetLeft') ." and ". $mother->get('nestedSetRight'); WebGUI::SQL->write($sql);