]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix bustage
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 20 Sep 2012 19:01:34 +0000 (21:01 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 20 Sep 2012 19:01:34 +0000 (21:01 +0200)
show_bug.cgi

index a94617c1cf818356df03056891b70c826da38d98..10d35956dc6d0aad6dd140195dab833d53c3105c 100755 (executable)
@@ -83,7 +83,8 @@ if ($single) {
                 push(@bugs, $bug);
             }
             else {
-                push(@illegal_bugs, { bug_id => $bug->id, error => 'NotPermitted' });
+                my $error = 'NotPermitted'; # Trick to make 012throwables.t happy.
+                push(@illegal_bugs, { bug_id => $bug->id, error => $error });
             }
         }
     }