diff options
author | wicked%sci.fi <> | 2009-04-22 09:41:14 +0200 |
---|---|---|
committer | wicked%sci.fi <> | 2009-04-22 09:41:14 +0200 |
commit | b4b8090b1d4f7dd7d297c360e9341b7bb6644e43 (patch) | |
tree | 4c1813539875dc71dd39d676211f4a305b6c4f2e /template/en/default | |
parent | 8c19360f8e75d680b44c23d6ac4434ee91e4726d (diff) | |
download | bugzilla-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.tmpl | 3 |
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 %] |