Skip offering a search form on a non-existing PR lookup.

This commit is contained in:
Peter Wemm 2014-06-09 00:12:19 +00:00
parent 8063ec8fcf
commit 930b896503
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45034

View file

@ -733,8 +733,7 @@ sub ErrorExit
my $url = $q->url(-full => 1, -query => 1); my $url = $q->url(-full => 1, -query => 1);
if ($code == EXIT_NOPRS) { if ($code == EXIT_NOPRS) {
print html_header("FreeBSD has migrated to <a href='http://bugs.freebsd.org/search/'>Bugzilla</a>. This form is obsolete and incomplete."); print html_header("FreeBSD has migrated to <a href='http://bugs.freebsd.org/search/'>Bugzilla</a>. Try your search there.");
displayform();
print html_footer(); print html_footer();
} elsif ($code == EXIT_DBBUSY) { } elsif ($code == EXIT_DBBUSY) {
print html_header("PR Database Busy"); print html_header("PR Database Busy");