summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorwicked%sci.fi <>2009-04-22 09:41:14 +0200
committerwicked%sci.fi <>2009-04-22 09:41:14 +0200
commitb4b8090b1d4f7dd7d297c360e9341b7bb6644e43 (patch)
tree4c1813539875dc71dd39d676211f4a305b6c4f2e /template/en/default
parent8c19360f8e75d680b44c23d6ac4434ee91e4726d (diff)
downloadbugzilla-b4b8090b1d4f7dd7d297c360e9341b7bb6644e43.tar.gz
bugzilla-b4b8090b1d4f7dd7d297c360e9341b7bb6644e43.tar.xz
Bug 488027: Fix "Argument isn't numeric in numeric lt (<)" errors from summarize_time.cgi - Patch by Teemu Mannermaa <wicked@sci.fi> r/a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/bug/summarize-time.html.tmpl3
1 files changed, 2 insertions, 1 deletions
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 %]