# HG changeset patch # User olivier # Date 1403865981 -7200 # Fri Jun 27 12:46:21 2014 +0200 # Node ID abbf8d726561ba54217663e99dfbecd4eacd0ac6 # Parent ff2a31506bda58fd78e288a35308e6e4ab8fc10a Fixes an internal error when displaying the Worktime tab on a project, in the case when a member referenced in wt_member_order is deleted from Redmine diff -r ff2a31506bda -r abbf8d726561 app/controllers/work_time_controller.rb --- a/app/controllers/work_time_controller.rb Fri Jun 27 12:44:28 2014 +0200 +++ b/app/controllers/work_time_controller.rb Fri Jun 27 12:46:21 2014 +0200 @@ -629,6 +629,7 @@ odr.each do |o| if mem_by_uid.has_key?(o.user_id) then user=mem_by_uid[o.user_id].user + next if user.nil? # 順位の確認と修正 if o.position != pos then o.position=pos