From 472c3652acd6ed5e04f20553f68992b1f5c390c2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 27 Jul 2007 05:25:30 +0000 Subject: [PATCH] r1593: Fixing bug://report/93 After mass-updating a search where the criteria were changed, a user would be stuck in a "no results" error. * search.php: Adding a link to create a new search on a "no results" error --- docs/changes.txt | 1 + search.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 2f53dd2..cc59895 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -2,6 +2,7 @@ =============================== - Fixed: A "Call-time pass-by-reference has been deprecated" on search.php - Fixed: Users could not be approved due to a improper email template paths +- Fixed: After mass-updating a search result set, if the search criteria were changed the user would be stuck in a "no results" error (bug://report/93) 1.2.1 =============================== diff --git a/search.php b/search.php index e0f4089..6381110 100644 --- a/search.php +++ b/search.php @@ -389,7 +389,7 @@ if ($_REQUEST['do'] == 'process') if ($numrows < 1) { - $message->error(_('No search results were returned that matched your criteria.')); + $message->error(_('No search results were returned that matched your criteria. Please try again with different search requirements.')); } while ($result = $db->fetch_array($search)) -- 2.43.5