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

Changeset 1526


Ignore:
Timestamp:
Jan 8, 2007, 12:05:18 AM (13 years ago)
Author:
miyumiyu
Message:

携帯日記:エラー時に入力した情報を消さないようにした+1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/myumyu/prj_openpne2/webapp/modules/ktai/do/h_diary_edit_insert_c_diary.php

    r1525 r1526  
    2323
    2424        if (is_null($subject) || $subject === '') {
    25             $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 2,'subject'=>$subject,'body' => $body,'public_flag' => $public_flag);
     25            $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 2,'subject'=>mb_convert_encoding($subject,"SJIS","UTF-8"),'body' => mb_convert_encoding($body,"SJIS","UTF-8"),'public_flag' => $public_flag);
    2626            openpne_redirect('ktai', 'page_h_diary_edit', $p);
    2727        }
    2828
    2929        if (is_null($body) || $body === '') {
    30             $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 1,'subject'=>$subject,'body' => $body,'public_flag' => $public_flag);
     30            $p = array('target_c_diary_id' => $target_c_diary_id, 'msg' => 1,'subject'=>mb_convert_encoding($subject,"SJIS","UTF-8"),'body' => mb_convert_encoding($body,"SJIS","UTF-8"),'public_flag' => $public_flag);
    3131            openpne_redirect('ktai', 'page_h_diary_edit', $p);
    3232        }
Note: See TracChangeset for help on using the changeset viewer.