Issue Bug Closed

#17597Hook for "getSearchWords" checks for a method "getSearchWords" in hook class, but does not use this method.

Sebastian Fuchs 09/12/07, 18:04 updated 09/06/13, 09:19

Description

In class.tx_indexedsearch.php in the method getSearchWords is a Hook definied called “getSearchWords” (line421).
On creation of the hook object there is a check if the method “getSearchWords” is available in the hook class.
Later there is not a call to the checked method, but to “getSearchWords_splitSWords”.
This is no bug, but inconsistent.

line 422 should not be:
return $hookObj->getSearchWords_splitSWords($inSW, $defOp);
but:
return $hookObj->getSearchWords($inSW, $defOp);

sorry that i dont have any diff patch.
(issue imported from #M6333)

Reviews 0

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