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

Changeset 3111


Ignore:
Timestamp:
May 24, 2007, 11:23:48 AM (12 years ago)
Author:
ebihara
Message:

#855:携帯版BIZで他人の予定の登録ができなかったバグの修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.6.x/webapp_biz/modules/ktai_biz/do/fhg_biz_schedule_add.php

    r2888 r3111  
    1414        //target_idの指定
    1515        if (!$requests['target_id']) {
    16             $requests['target_id'] = $u;
     16            $target_c_member_id = $u;
     17        } else {
     18            $target_c_member_id = $requests['target_id'];
    1719        }
    1820
     
    138140        if (!$requests['sc_rp']) {
    139141            //繰り返しをしない予定登録
    140             biz_insertSchedule($requests['sc_title'], $u, $begin_date, $finish_date, $begin_time, $finish_time, $requests['sc_memo'], $rp_rule, 0, $requests['biz_group_id'], $requests['public_flag']);
     142            biz_insertSchedule($requests['sc_title'], $u, $begin_date, $finish_date, $begin_time, $finish_time, $requests['sc_memo'], $rp_rule, 0, $requests['biz_group_id'], $requests['public_flag'], $target_c_member_id);
    141143        } else {
    142144            //繰り返し予定
     
    147149                $tmp = date("Ymd", $nowday);
    148150                if ($rp_rule & (1 << date("w",$nowday))) {
    149                     biz_insertSchedule($requests['sc_title'], $u, $tmp, $tmp, $begin_time, $finish_time, $requests['sc_memo'], $rp_rule, $first_id, $requests['biz_group_id'], $requests['public_flag']);
     151                    biz_insertSchedule($requests['sc_title'], $u, $tmp, $tmp, $begin_time, $finish_time, $requests['sc_memo'], $rp_rule, $first_id, $requests['biz_group_id'], $requests['public_flag'], $target_c_member_id);
    150152                }
    151153            }
     
    156158        $_REQUEST['msg'] = '予定を追加しました。';
    157159        $_REQUEST['w'] = $week;
    158         $_REQUEST['target_id'] = $target_id;
     160        $_REQUEST['target_id'] = $target_c_member_id;
    159161        $_REQUEST['id'] = biz_getScheduleMax();
    160162        openpne_forward('ktai_biz', 'page', "fh_calendar_week");
Note: See TracChangeset for help on using the changeset viewer.