Fixed: Updating tickets add a time log with zero hours (#1147).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1385 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-04-30 09:09:28 +00:00
parent 4525a7429a
commit f1ae453688
2 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ module Redmine #:nodoc:
end
# 2,5 => 2.5
s.gsub!(',', '.')
s.to_f
begin; Kernel.Float(s); rescue; nil; end
end
end
end