Issue Bug Closed

#38548Incorrect search-results when searching for part of word

Mats Svensson 07/02/12, 14:06 updated 12/15/14, 11:30

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) ? ‘
’ : ‘’;

Reviews 0

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