replaced defined with 1

This commit is contained in:
Colin Kuskie 2004-10-11 05:00:11 +00:00
parent 86ccc28fc6
commit ba1525d091

View file

@ -570,7 +570,7 @@ sub _getSearchablePages {
my %pages;
my $sth = WebGUI::SQL->read("select pageId from page where parentId = ".quote($searchRoot));
while (my %data = $sth->hash) {
$pages{$data{pageId}} = defined;
$pages{$data{pageId}} = 1;
%pages = (%pages, _getSearchablePages($data{pageId}) );
}
return %pages;