We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c534926 commit 81fa5c2Copy full SHA for 81fa5c2
lib/backlogs_hooks.rb
@@ -343,7 +343,7 @@ def controller_issues_edit_before_save(context={ })
343
params = context[:params]
344
issue = context[:issue]
345
346
- if issue.is_task?
+ if issue.is_task? && params.include?(:remaining_hours)
347
begin
348
issue.remaining_hours = Float(params[:remaining_hours])
349
rescue ArgumentError, TypeError
0 commit comments