[Typo3-dev] Fix for tslib_search.php line 256

Jacob Lindhardsen web at jacoblindhardsen.dk
Tue Jul 13 19:42:08 CEST 2004


See the thread three mails below this one: "361 and tslib_search.php - any
solution yet ?"

Carlos had me on "Remote Control" and came up with a temporary (or
permanent?) solution for the line 256-issue in tslib/tslib_search.php. He
will submit it himself in a while as a bug or maybe a new fix...

Remove the original line 256:

$word = ereg_replace($delchars.'$','',trim($reg[0])); // Delete $delchars at
end of string

and replace with this:

$word = ereg_replace('[\+\-\.,]$','',trim($reg[0])); // Delete $delchars at
end of string


Thank you Carlos, u are very kind.

Jacob from Denmark.






More information about the TYPO3-dev mailing list