プロジェクト

全般

プロフィール

Defect #1336 » 309-Internal-error-when-members-are-deleted.patch

Olivier Houdas, 2014/06/27 19:47

差分を表示:

app/controllers/work_time_controller.rb Fri Jun 27 12:44:28 2014 +0200 → app/controllers/work_time_controller.rb Fri Jun 27 12:46:21 2014 +0200
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
    (1-1/1)