replaced defined with 1
This commit is contained in:
parent
86ccc28fc6
commit
ba1525d091
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue