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

Changeset 2512


Ignore:
Timestamp:
Apr 10, 2007, 9:15:18 PM (12 years ago)
Author:
takanashi
Message:

#432 下書きメッセージ表示時に、引数にtarget_c_member_idを加えると、本来の送信先でないユーザが表示される,#606対処済み

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2_8/webapp/modules/pc/page/f_message_send.php

    r1856 r2512  
    4444            $form_val['body'] = $tmplist['body'];
    4545            $form_val['subject'] = $tmplist['subject'];
    46             $form_val['target_c_message_id'] = $form_val['target_c_message_id'];
    47             if (!$target_c_member_id) {
     46            $form_val['target_c_message_id'] = $tmplist['c_message_id'];
     47            if ($tmplist['c_member_id_to']) {
    4848                $target_c_member_id = $tmplist['c_member_id_to'];
    4949            }
     
    5252            $form_val['body'] = message_body2inyou($tmplist['body']);
    5353            $form_val['subject'] = "Re:".$tmplist['subject'];
    54             $form_val['target_c_message_id'] = $form_val['target_c_message_id'];
    55             if (!$target_c_member_id) {
     54            $form_val['target_c_message_id'] = $tmplist['c_message_id'];
     55            if ($tmplist['c_member_id_from']) {
    5656                $target_c_member_id = $tmplist['c_member_id_from'];
    5757            }
Note: See TracChangeset for help on using the changeset viewer.