Index: search.php =================================================================== --- search.php (revision 1316) +++ search.php (working copy) @@ -397,6 +397,11 @@ $pagination->total = $search['resultcount']; $pagination->split_pages(); + if (!$search['ids']) + { + $message->error(_('No bugs matched your search criteria. Please try again with different search requirements.')); + } + $search = $db->query("SELECT * FROM " . TABLE_PREFIX . "bug WHERE bugid IN ($search[ids]) $search[orderby] LIMIT " . $pagination->fetch_limit($pagination->page - 1) . ", " . $pagination->perpage); while ($bug = $db->fetch_array($search)) {