From: Frédéric Buclin Date: Fri, 29 Oct 2010 23:44:27 +0000 (+0200) Subject: Bug 608437: Unused variables passed to flag/list.html.tmpl X-Git-Tag: bugzilla-4.1.1~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee1f304240ef668c53a8712d57b3e70061461f2;p=thirdparty%2Fbugzilla.git Bug 608437: Unused variables passed to flag/list.html.tmpl a=LpSolit (module owner) --- diff --git a/template/en/default/attachment/createformcontents.html.tmpl b/template/en/default/attachment/createformcontents.html.tmpl index a1e168beca..f7b86f8845 100644 --- a/template/en/default/attachment/createformcontents.html.tmpl +++ b/template/en/default/attachment/createformcontents.html.tmpl @@ -86,7 +86,7 @@ [% IF flag_types && flag_types.size > 0 %] - [% PROCESS "flag/list.html.tmpl" bug_id=bugid attach_id=attachid %]
+ [% PROCESS "flag/list.html.tmpl" %]
[% END %] diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index f124df43f8..fc79778485 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -262,10 +262,7 @@ [% END %]
[% IF attachment.flag_types.size > 0 %] - - [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id - attach_id = attachment.id - flag_types = attachment.flag_types + [% PROCESS "flag/list.html.tmpl" flag_types = attachment.flag_types read_only_flags = !can_edit %]