ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 2979


Ignore:
Timestamp:
May 18, 2007, 4:19:40 PM (12 years ago)
Author:
ebihara
Message:

#721:他人の予定を修正した直後の参加者の表示が正しくなかったのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.6.x/webapp_biz/modules/biz/page/fh_biz_schedule_view.php

    r2893 r2979  
    3636        $this->set("target_member", $target_member);
    3737        $this->set("form_val", $form_val);
    38         $this->set("target_c_member_id", $requests['target_id']);
    3938       
    4039        //カレンダー関係
     
    5756
    5857        $list = biz_getScheduleInfo($requests['id']);
     58        $target_c_member_id = array_shift(biz_getJoinIdSchedule($requests['id']));
     59        if (is_null($target_c_member_id)) {
     60            $target_c_member_id = $u;
     61        }
     62        $this->set("target_c_member_id", $target_c_member_id);
    5963
    6064        //繰り返しフラグのチェック
     
    7478                $biz_group = biz_getGroupData($list['biz_group_id']);
    7579                $list['biz_group_name'] = $biz_group['name'];
     80        } elseif ($u != $target_c_member_id) {
     81            $list['target_c_member_nickname'] = biz_getMemberNickname($target_c_member_id);
    7682        } else {
    77             $list['target_c_member_nickname'] = biz_getMemberNickname($requests['target_id']);
     83            $list['target_c_member_nickname'] = biz_getMemberNickname($u);
    7884        }
    7985
Note: See TracChangeset for help on using the changeset viewer.