Skip offering a search form on a non-existing PR lookup.
This commit is contained in:
parent
8063ec8fcf
commit
930b896503
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45034
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue