summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-30 01:44:27 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-30 01:44:27 +0200
commitbee1f304240ef668c53a8712d57b3e70061461f2 (patch)
tree92122a42e78cb9101fe2e18910a1966426d23254 /template
parentcb3b2af430d6cfa4dc0049296ff487c78d8c6a53 (diff)
downloadbugzilla-bee1f304240ef668c53a8712d57b3e70061461f2.tar.gz
bugzilla-bee1f304240ef668c53a8712d57b3e70061461f2.tar.xz
Bug 608437: Unused variables passed to flag/list.html.tmpl
a=LpSolit (module owner)
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/createformcontents.html.tmpl2
-rw-r--r--template/en/default/attachment/edit.html.tmpl5
2 files changed, 2 insertions, 5 deletions
diff --git a/template/en/default/attachment/createformcontents.html.tmpl b/template/en/default/attachment/createformcontents.html.tmpl
index a1e168bec..f7b86f884 100644
--- a/template/en/default/attachment/createformcontents.html.tmpl
+++ b/template/en/default/attachment/createformcontents.html.tmpl
@@ -86,7 +86,7 @@
<td> </td>
<td>
[% IF flag_types && flag_types.size > 0 %]
- [% PROCESS "flag/list.html.tmpl" bug_id=bugid attach_id=attachid %]<br>
+ [% PROCESS "flag/list.html.tmpl" %]<br>
[% END %]
</td>
</tr>
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index f124df43f..fc7977848 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -262,10 +262,7 @@
[% END %]
<div id="attachment_flags">
[% 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
%]