summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/Extension.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/BugModal/Extension.pm b/extensions/BugModal/Extension.pm
index c07bb4cde..04d7cb567 100644
--- a/extensions/BugModal/Extension.pm
+++ b/extensions/BugModal/Extension.pm
@@ -160,6 +160,7 @@ sub template_before_process {
&& ref($vars->{bugs}) eq 'ARRAY'
&& scalar(@{ $vars->{bugs} }) == 1;
my $bug = $vars->{bugs}->[0];
+ return if exists $bug->{error};
# trigger loading of tracking flags
Bugzilla::Extension::TrackingFlags->template_before_process({