2009-02-06, 11:20 PM
If you just enter one space character into the search field you get an error message at the top of the page:
Quote:Warning [2] Invalid argument supplied for foreach() - Line: 245 - File: inc/functions_search.phpPossible fix in search.php:
// Load global language phrases
$lang->load("search");
$mybb->input['keywords'] = trim($mybb->input['keywords']);