diff options
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-x | show_bug.cgi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/show_bug.cgi b/show_bug.cgi index 36e325057..578b6a7a8 100755 --- a/show_bug.cgi +++ b/show_bug.cgi @@ -78,8 +78,12 @@ if ($single) { } } else { foreach my $id ($cgi->param('id')) { - my $bug = new Bugzilla::Bug($id, Bugzilla->user->id); - push @bugs, $bug; + # Be kind enough and accept URLs of the form: id=1,2,3. + my @ids = split(/,/, $id); + foreach (@ids) { + my $bug = new Bugzilla::Bug($_, Bugzilla->user->id); + push(@bugs, $bug); + } } } |