Project

General

Profile

Actions

Bug #17662

closed

"Fresh" search form shows noresults.

Added by Ulrich Fischer about 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2007-10-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF