Have individuals ever attempted to change the Joomla! (1.6) search wordpress plugin? I've an problem. I must search withing Joomla! articles without needing to pass a searchword. And So I customize the wordpress plugin (plug ins/search/content/content.php) by doing this:

I comment the road below:

if ($text == '') {
    //return array();

I remove the variable $where from $query->where.

And also the answers are right however the encoding is wrong and I am obtaining a warning:

Warning: megabytes_strpos(): Empty delimiter in /public_html/libraries/phputf8/mbstring/core.php on line 45

And I am obtaining the results like "Kr��tka" rather than "Krótka".

Any ideas?