fixed SQL quoting and GUID problems

This commit is contained in:
Colin Kuskie 2004-10-09 20:36:30 +00:00
parent fd2100e09b
commit 86ccc28fc6
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ sub www_edit {
# Page roots
%searchRoot = ( 'any'=>WebGUI::International::get(15,$self->get("namespace")),
$session{page}{pageId}=>WebGUI::International::get(4,$self->get("namespace")),
WebGUI::SQL->buildHash("select pageId,title from page where parentId=0 and isSystem<>1 order by title")
WebGUI::SQL->buildHash("select pageId,title from page where parentId='0' and isSystem<>'1' order by title")
);
$properties->checkList ( -name=>'searchRoot',
-options=>\%searchRoot,