Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Error if you just enter a space character into the search field [C-D-r-a-g-o-n]
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.php
Possible fix in search.php:
// Load global language phrases

$mybb->input['keywords'] = trim($mybb->input['keywords']);
[Image: donation_drive_sig.png]
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group

Forum Jump:

Users browsing this thread: 1 Guest(s)