From 930b8965033f647d6766bd9addf20a5335b72476 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 9 Jun 2014 00:12:19 +0000 Subject: [PATCH] Skip offering a search form on a non-existing PR lookup. --- en_US.ISO8859-1/htdocs/cgi/query-pr.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi b/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi index 9a098badd8..0f73165162 100755 --- a/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi +++ b/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi @@ -733,8 +733,7 @@ sub ErrorExit my $url = $q->url(-full => 1, -query => 1); if ($code == EXIT_NOPRS) { - print html_header("FreeBSD has migrated to Bugzilla. This form is obsolete and incomplete."); - displayform(); + print html_header("FreeBSD has migrated to Bugzilla. Try your search there."); print html_footer(); } elsif ($code == EXIT_DBBUSY) { print html_header("PR Database Busy");