]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1521653 - Cannot edit comments after creating or updating an attachment
authorKohei Yoshino <kohei.yoshino@gmail.com>
Tue, 22 Jan 2019 16:55:19 +0000 (11:55 -0500)
committerDylan William Hardison <dylan@hardison.net>
Tue, 22 Jan 2019 16:55:19 +0000 (11:55 -0500)
extensions/EditComments/template/en/default/hook/global/header-start.html.tmpl

index 529fbf470624dfcf5ff1e923e7874fe777ed39dd..d6af09a08f72196dbeb0195d0878b0152760b087 100644 (file)
@@ -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'));