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
629 629
    odr.each do |o|
630 630
      if mem_by_uid.has_key?(o.user_id) then
631 631
        user=mem_by_uid[o.user_id].user
632
        next if user.nil?
632 633
        # 順位の確認と修正
633 634
        if o.position != pos then
634 635
          o.position=pos
    (1-1/1)