Fixes event type implementation for work package

pull/582/head
Hagen Schink 11 years ago
parent a0c97b18d0
commit 7f42cd6af1
  1. 2
      app/models/work_package.rb

@ -184,7 +184,7 @@ class WorkPackage < ActiveRecord::Base
t << if journal.changed_data.empty? && !journal.initial?
'-note'
else
status = Status.find_by_id(journal.new_value_for(:status_id))
status = Status.find_by_id(data.status_id)
status.try(:is_closed?) ? '-closed' : '-edit'
end

Loading…
Cancel
Save