From: David Lawrence Date: Fri, 2 Oct 2015 16:09:22 +0000 (+0000) Subject: Bug 1210654: "MozReview Requests" is not shown in the page after submitting a change X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526300fc885ef30d63c8a7ba44bce105ef1b3799;p=thirdparty%2Fbugzilla.git Bug 1210654: "MozReview Requests" is not shown in the page after submitting a change --- 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});