summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlong_list.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/long_list.cgi b/long_list.cgi
index 0641dd229..55d2195a7 100755
--- a/long_list.cgi
+++ b/long_list.cgi
@@ -63,6 +63,7 @@ from bugs,profiles assign,profiles report
where assign.userid = bugs.assigned_to and report.userid = bugs.reporter and
bugs.groupset & $::usergroupset = bugs.groupset and";
+$::FORM{'buglist'} = "" unless exists $::FORM{'buglist'};
foreach my $bug (split(/:/, $::FORM{'buglist'})) {
SendSQL("$generic_query bugs.bug_id = $bug");