@@ -376,7 +376,7 class IssuesController < ApplicationController | |||
|
376 | 376 | def update_issue_from_params |
|
377 | 377 | @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) |
|
378 | 378 | if params[:time_entry] |
|
379 | @time_entry.attributes = params[:time_entry] | |
|
379 | @time_entry.safe_attributes = params[:time_entry] | |
|
380 | 380 | end |
|
381 | 381 | |
|
382 | 382 | @issue.init_journal(User.current) |
General Comments 0
You need to be logged in to leave comments.
Login now