aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbaetz%cs.mcgill.ca <>2001-11-12 13:47:24 +0000
committerbbaetz%cs.mcgill.ca <>2001-11-12 13:47:24 +0000
commit919d42e2fbce4e1d7d5094b1cf747b3914165ccf (patch)
treeebe1c2f6b7a74d56861f724fae1492a2b3ba809f /long_list.cgi
parentBug 109690: Check $bug before using it. (diff)
downloadbugzilla-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-xlong_list.cgi2
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));