Issue Bug Closed

#17662"Fresh" search form shows noresults.

Ulrich Fischer 10/09/07, 19:49 updated 09/06/13, 09:22

Description

“Fresh” search form shows noresults, even there are no swords.

I think the problem can be solved:
class.tx_indexedsearch.php 2158 2007-02-27 13:49:53Z
line 182-183
ORIGINAL:
// Do search:
// If there were any search words entered…
if (is_array($this->sWArr) ) {

SOLUTION:
// Do search:
// If there were any search words entered…
if (is_array($this->sWArr) && !empty($this->sWArr)) {

$this->sWArr seems to be an array, even it is empty.

(issue imported from #M6480)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.