diff options
author | dmose%mozilla.org <> | 1999-12-03 08:21:40 +0100 |
---|---|---|
committer | dmose%mozilla.org <> | 1999-12-03 08:21:40 +0100 |
commit | 054be7c4ef0b5ace9155df00654b48fafd137a3a (patch) | |
tree | 58cb8b7e3db887e4c1dc69ead41ef0a6b30c603a /buglist.cgi | |
parent | 1e216d4eb54fcb827f6910d578f54d92839147a1 (diff) | |
download | bugzilla-054be7c4ef0b5ace9155df00654b48fafd137a3a.tar.gz bugzilla-054be7c4ef0b5ace9155df00654b48fafd137a3a.tar.xz |
a bug fix or two and a whole bunch of sanity-checking of form submissions stuff
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index c273556c0..25343bf6e 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -19,6 +19,7 @@ # Rights Reserved. # # Contributor(s): Terry Weissman <terry@mozilla.org> +# Dan Mosedale <dmose@mozilla.org> use diagnostics; use strict; @@ -755,7 +756,7 @@ document.write(\" <input type=button value=\\\"Uncheck All\\\" onclick=\\\"SetCh <BR> <TEXTAREA WRAP=HARD NAME=comment ROWS=5 COLS=80></TEXTAREA><BR>"; -if ($::usergroupset ne '0' && $buggroupset =~ /^\d*$/) { +if ($::usergroupset ne '0' && $buggroupset =~ /^\d+$/) { SendSQL("select bit, description, (bit & $buggroupset != 0) from groups where bit & $::usergroupset != 0 and isbuggroup != 0 order by bit"); while (MoreSQLData()) { my ($bit, $description, $ison) = (FetchSQLData()); |