ilike modsearch

2om
Joined: 13 Oct 2008

ilike modsearch

Posted:04 Jan 2010 (07:52 UTC)
replace line 8 in mod_search.tpl
{html_options options=$contentTypes name="content_type_guid[]" selected=$gContent->mContentTypeGuid}
if you got error -> Warning: in_array() function.in-array: Wrong datatype for second argument in ... ilike\iLike.php on line 45
from

{html_options options=$contentTypes name="content_type_guid" selected=$gContent->mContentTypeGuid}
to
{html_options options=$contentTypes name="content_type_guid[]" selected=$gContent->mContentTypeGuid}

the mod_search dropdown works after this