Project

General

Profile

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

Olivier Houdas, 06/27/2014 07:47 PM

View differences:

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)