From 2c8ad01edb6ac6e8f040e302c14aa0e1ad140ef2 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 9 Jan 2005 02:22:44 +0000 Subject: Patch for bug 277013: provides a fix for the SQL error that appears when a user's vote confirms a bug; patch by Frédéric Buclin , r=wurblzap, a=justdave. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/votes/list-for-user.html.tmpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'template/en') diff --git a/template/en/default/bug/votes/list-for-user.html.tmpl b/template/en/default/bug/votes/list-for-user.html.tmpl index 27551f19d..9bb3a1dd6 100644 --- a/template/en/default/bug/votes/list-for-user.html.tmpl +++ b/template/en/default/bug/votes/list-for-user.html.tmpl @@ -21,10 +21,12 @@ [% PROCESS global/variables.none.tmpl %] -[% h2 = voting_user.login FILTER html %] -[% PROCESS global/header.html.tmpl - title = "Show Votes" - %] +[% IF !header_done %] + [% h2 = voting_user.login FILTER html %] + [% PROCESS global/header.html.tmpl title = "Show Votes" %] +[% ELSE %] +
+[% END %] [% canedit = 1 IF voting_user.login == user.login %] -- cgit v1.2.3-24-g4f1b