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

@ -344,7 +344,7 @@ sub motherSelfAndSisters {
$class->keyColumn()." != $keyColumnId",
]
);
if ($class->useDummyRoot() && $parentId == 0) {
if ($class->useDummyRoot() && $parentId eq '0') {
push @objs, $class->dummyRoot();
}
return ($self,@objs);