Bug #22081 ยป 13464.diff
typo3/sysext/indexed_search/modfunc2/class.tx_indexedsearch_modfunc2.php (working copy) | ||
---|---|---|
$this->note = $LANG->getLL('justthispage');
|
||
} else {
|
||
// Limit access to pages of the current site
|
||
$secureaddwhere = ' AND pageid IN ('.($this->extGetTreeList($conf['bid'],100,0,'1')).$conf['bid'].') ';
|
||
$secureaddwhere = ' AND pageid IN (' . ($this->extGetTreeList($conf['bid'], 100, 0, '1=1')) . $conf['bid'] . ') ';
|
||
$this->note = $LANG->getLL('allpages');
|
||
$queryParts['WHERE'] = '1=1 ' . $addwhere . $secureaddwhere;
|