Increase the value of maximum PR number from 99999 to 499999.

(the current PR number is around 41300 ;-)
This commit is contained in:
Wolfram Schneider 2002-08-05 19:05:29 +00:00
parent 8dd21dc8c3
commit 03423fca73
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=13788

View file

@ -1,5 +1,5 @@
#!/usr/bin/perl -T
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.27 2001/11/07 16:32:13 sobomax Exp $
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.28 2002/08/04 22:24:29 wosch Exp $
$ENV{'PATH'} = "/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin";
@ -49,7 +49,7 @@ if ($pr =~ /(\d+)/) {
$pr = int($pr); # numeralize: "0123" -> 123
if ($pr < 1 || $pr > 99999) {
if ($pr < 1 || $pr > 499999) {
print &html_header("FreeBSD Problem Report");
print "<p>Invalid problem report number: $pr</p>\n";
print &html_footer;