From b4b8090b1d4f7dd7d297c360e9341b7bb6644e43 Mon Sep 17 00:00:00 2001 From: "wicked%sci.fi" <> Date: Wed, 22 Apr 2009 07:41:14 +0000 Subject: Bug 488027: Fix "Argument isn't numeric in numeric lt (<)" errors from summarize_time.cgi - Patch by Teemu Mannermaa r/a=LpSolit --- template/en/default/bug/summarize-time.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/summarize-time.html.tmpl b/template/en/default/bug/summarize-time.html.tmpl index 12fb46e6d..e07452ed1 100644 --- a/template/en/default/bug/summarize-time.html.tmpl +++ b/template/en/default/bug/summarize-time.html.tmpl @@ -221,7 +221,8 @@ [% IF !global.bug_count.$id %] [% global.estimated = global.estimated + bugs.$id.estimated_time %] [% global.remaining = global.remaining + bugs.$id.remaining_time %] - [% IF bugs.$id.deadline && global.deadline < bugs.$id.deadline %] + [% IF !global.deadline || bugs.$id.deadline && + global.deadline.replace("-", "") < bugs.$id.deadline.replace("-", "") %] [% SET global.deadline = bugs.$id.deadline %] [% END %] [% END %] -- cgit v1.2.3-24-g4f1b