diff options
author | bbaetz%cs.mcgill.ca <> | 2001-11-12 13:47:24 +0000 |
---|---|---|
committer | bbaetz%cs.mcgill.ca <> | 2001-11-12 13:47:24 +0000 |
commit | 919d42e2fbce4e1d7d5094b1cf747b3914165ccf (patch) | |
tree | ebe1c2f6b7a74d56861f724fae1492a2b3ba809f /long_list.cgi | |
parent | Bug 109690: Check $bug before using it. (diff) | |
download | bugzilla-919d42e2fbce4e1d7d5094b1cf747b3914165ccf.tar.gz bugzilla-919d42e2fbce4e1d7d5094b1cf747b3914165ccf.tar.bz2 bugzilla-919d42e2fbce4e1d7d5094b1cf747b3914165ccf.zip |
Oops. Bug 109690 again, r=justdave, gerv
Diffstat (limited to 'long_list.cgi')
-rwxr-xr-x | long_list.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/long_list.cgi b/long_list.cgi index 63120e5eb..f6182d439 100755 --- a/long_list.cgi +++ b/long_list.cgi @@ -73,7 +73,7 @@ where assign.userid = bugs.assigned_to and report.userid = bugs.reporter and"; $::FORM{'buglist'} = "" unless exists $::FORM{'buglist'}; foreach my $bug (split(/:/, $::FORM{'buglist'})) { - if (!detaint_natural($bug)) || next; + detaint_natural($bug) || next; SendSQL(SelectVisible("$generic_query bugs.bug_id = $bug", $::userid, $::usergroupset)); |