If I run a search with the "exact sentence" option selected, I get the following error :

Warning: in_array() []: Wrong datatype for second argument in /home/site/components/com_search/search.php on line 155

This is because in the changeset for 1.0.14, $search_ignore = array(); has been moved into a condition (line 95).
It shouldn't be as it's needed line 155. So I've moved it to line 79 and all is fixed. Patch is joined.

(Credit goes to Sylvain Da Costa who pointed the bug and the solution out to me)
Opened On:
30 Apr 2008, 6:42 by Cory Chaplin
Closed On:
23 Aug 2008, 7:12
Not Joomla! Core

Filed Under

  • Components
  • User


Posted on 2 May 2008, 13:56 by Joseph LeBlanc
I am not able to reproduce this error on the SVN copy, although I can see where that would cause issues. The patch doesn't seem to cause any issues though.