]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 417146: Sanitycheck recurses into global/message.txt.tmpl - Patch by Frédéric...
authorlpsolit%gmail.com <>
Thu, 28 Feb 2008 00:05:23 +0000 (00:05 +0000)
committerlpsolit%gmail.com <>
Thu, 28 Feb 2008 00:05:23 +0000 (00:05 +0000)
template/en/default/admin/sanitycheck/messages.html.tmpl

index 0e44b2125445a54502c9d263bccc41ebffbe802f..2ec043c4c3a8cf0fd08af0c3f7c4ff7d7b4c340b 100644 (file)
 
 [% BLOCK bug_list %]
   [% FOREACH bug_id = badbugs %]
-    [%+ bug_id FILTER bug_link(bug_id) FILTER none %][% ", " IF !loop.last %]
+    [%# Do not use FILTER bug_link() here, because bug_link() calls get_text()
+     # which itself calls this template again, generating a recursion error.
+     # I doubt having a tooltip with the bug status and summary is so
+     # important here anyway, as you can click the "(as buglist)" link. %]
+    <a href="show_bug.cgi?id=[% bug_id FILTER url_quote %]">[% bug_id FILTER html %]</a>
+    [% ", " IF !loop.last %]
   [% END %]
   (<a href="buglist.cgi?bug_id=[% badbugs.join(",") FILTER url_quote %]">as buglist</a>).
 [% END %]