From: Kohei Yoshino Date: Tue, 22 Jan 2019 16:55:19 +0000 (-0500) Subject: Bug 1521653 - Cannot edit comments after creating or updating an attachment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a6d24e81ca29f6998d4b465547cfb8952072255;p=thirdparty%2Fbugzilla.git Bug 1521653 - Cannot edit comments after creating or updating an attachment --- diff --git a/extensions/EditComments/template/en/default/hook/global/header-start.html.tmpl b/extensions/EditComments/template/en/default/hook/global/header-start.html.tmpl index 529fbf470..d6af09a08 100644 --- a/extensions/EditComments/template/en/default/hook/global/header-start.html.tmpl +++ b/extensions/EditComments/template/en/default/hook/global/header-start.html.tmpl @@ -7,9 +7,7 @@ #%] [% - RETURN UNLESS template.name == 'bug/show-modal.html.tmpl' - || template.name == 'bug/create/created.html.tmpl' - || template.name == 'bug/process/results.html.tmpl'; + RETURN UNLESS bug.defined; RETURN UNLESS user.is_insider || Param('edit_comments_group') && user.in_group(Param('edit_comments_group'));