summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorghendricks%novell.com <>2009-02-05 19:40:13 +0100
committerghendricks%novell.com <>2009-02-05 19:40:13 +0100
commit9398153efce1f0d32cfcc29363caf0a6aeb98520 (patch)
tree27dace818c78d5adcc3acb8a6e6916a630995094 /template/en/default/bug
parent7d01cb036c10487b653fd5a74a64f38093a863c7 (diff)
downloadbugzilla-9398153efce1f0d32cfcc29363caf0a6aeb98520.tar.gz
bugzilla-9398153efce1f0d32cfcc29363caf0a6aeb98520.tar.xz
Bug 476678 - Rich clients unable to update bugs need security token included in bug xml
patch by ghendricks@novell.com r=LpSolit a=LpSolit
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/show.xml.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index f6f3617a0..1114d9cd7 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -48,6 +48,11 @@
[% END %]
[% END %]
+ [%# This is here so automated clients can still use process_bug.cgi %]
+ [% IF displayfields.token && user.id %]
+ <token>[% issue_hash_token([bug.id, bug.delta_ts]) FILTER xml %]</token>
+ [% END %]
+
[%# Now handle 'special' fields #%]
[% IF displayfields.group %]
[% FOREACH g = bug.groups %]