diff options
Diffstat (limited to 'extensions/MozReview')
-rw-r--r-- | extensions/MozReview/Extension.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/MozReview/Extension.pm b/extensions/MozReview/Extension.pm index 5745cf219..f16c6008b 100644 --- a/extensions/MozReview/Extension.pm +++ b/extensions/MozReview/Extension.pm @@ -34,8 +34,8 @@ sub template_before_process { my $file = $args->{'file'}; my $vars = $args->{'vars'}; - return unless (($file eq 'bug/show-header.html.tmpl' || - $file eq 'bug_modal/header.html.tmpl' || + return unless (($file =~ /bug\/(show-header|edit).html.tmpl$/ || + $file =~ /bug_modal\/(header|edit).html.tmpl$/ || $file eq 'attachment/create.html.tmpl') && Bugzilla->params->{mozreview_base_url}); |