From 6e191c3b6af471d7b70027b510673d3190413db4 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 28 Feb 2008 00:05:23 +0000 Subject: Bug 417146: Sanitycheck recurses into global/message.txt.tmpl - Patch by Frédéric Buclin r=justdave a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/sanitycheck/messages.html.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'template/en/default/admin/sanitycheck/messages.html.tmpl') diff --git a/template/en/default/admin/sanitycheck/messages.html.tmpl b/template/en/default/admin/sanitycheck/messages.html.tmpl index 0e44b2125..2ec043c4c 100644 --- a/template/en/default/admin/sanitycheck/messages.html.tmpl +++ b/template/en/default/admin/sanitycheck/messages.html.tmpl @@ -281,7 +281,12 @@ [% 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. %] + [% bug_id FILTER html %] + [% ", " IF !loop.last %] [% END %] (as buglist). [% END %] -- cgit v1.2.3-24-g4f1b