Commit b4b8090b authored by wicked%sci.fi's avatar wicked%sci.fi

Bug 488027: Fix "Argument isn't numeric in numeric lt (<)" errors from…

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
parent 8c19360f
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment