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

Ignore:
Timestamp:
Apr 17, 2009, 1:45:52 PM (13 years ago)
Author:
nagasawa
Message:

#3784:2.12にマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/page/f_message_send.php

    r6536 r11346  
    4646        if ($box == "savebox" && $form_val['target_c_message_id']) {
    4747            $tmplist = db_message_c_message4c_message_id($form_val['target_c_message_id']);
    48             $form_val['body'] = $tmplist['body'];
    49             $form_val['subject'] = $tmplist['subject'];
     48            if (!array_key_exists('subject', $requests)) {
     49                $form_val['subject'] = $tmplist['subject'];
     50            }
     51            if (!array_key_exists('body', $requests)) {
     52                $form_val['body'] = $tmplist['body'];
     53            }
    5054            $form_val['target_c_message_id'] = $tmplist['c_message_id'];
    5155            if ($tmplist['c_member_id_to']) {
Note: See TracChangeset for help on using the changeset viewer.