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

index cc568fbce3ee4c6ed321324c7f9145db0d8c5094..e9bf7fe43dfd3fff9728a9f2d5944788a38919dd 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 });
             }
         }
     }