Project

General

Profile

Actions

Bug #38548

closed

Incorrect search-results when searching for part of word

Added by Mats Svensson over 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2012-07-02
Due date:
% Done:

0%

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

Description

In function searchWord the self:: is missing for the 2 constants in rows 906 and 907.

$wildcard_left = ($mode & WILDCARD_LEFT) ? '%' : '';
$wildcard_right = ($mode & WILDCARD_RIGHT) ? '%' : '';

should be

$wildcard_left = ($mode & self::WILDCARD_LEFT) ? '%' : '';
$wildcard_right = ($mode & self::WILDCARD_RIGHT) ? '%' : '';

Actions

Also available in: Atom PDF