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

Changeset 1292


Ignore:
Timestamp:
Dec 19, 2006, 2:52:34 PM (14 years ago)
Author:
ebihara
Message:

#386 退会者ユーザから送信されてきたメッセージに返信ボタンが存在する現象の修正

Location:
OpenPNE/branches/ebihara/prj_bugfix/webapp/modules/pc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ebihara/prj_bugfix/webapp/modules/pc/do/f_message_send_insert_c_message.php

    r1268 r1292  
    6565        }
    6666
     67        //存在しないユーザ
     68        $target_member = db_member_c_member4c_member_id($target_c_member_id);
     69        if (empty($target_member)) {
     70            handle_kengen_error();
     71        }
     72
    6773        //アクセスブロック設定
    6874        if (db_member_is_access_block($u, $c_member_id_to)) {
  • OpenPNE/branches/ebihara/prj_bugfix/webapp/modules/pc/page/f_message_send.php

    r1268 r1292  
    3131        }
    3232
     33        $target_member = db_member_c_member4c_member_id($target_c_member_id);
     34        if (empty($target_member)) {
     35            handle_kengen_error();
     36        }
     37
    3338        $syusei = 0;
    3439        if ($form_val['subject'] && $form_val['body'])
     
    6166
    6267        //ターゲット情報
    63         $this->set("target_member", db_member_c_member4c_member_id($target_c_member_id));
     68        $this->set("target_member", $target_member);
    6469
    6570        //ターゲットのid
  • OpenPNE/branches/ebihara/prj_bugfix/webapp/modules/pc/page/f_message_send_confirm.php

    r1268 r1292  
    4141        );
    4242
     43        $target_member = db_member_c_member4c_member_id($target_c_member_id);
     44        if (empty($target_member)) {
     45            handle_kengen_error();
     46        }
     47
    4348        foreach ($upfiles as $key => $upfile) {
    4449            if ($upfile['error'] !== UPLOAD_ERR_NO_FILE) {
     
    6974
    7075        //ターゲット情報
    71         $this->set("target_member", db_member_c_member4c_member_id($target_c_member_id));
     76        $this->set("target_member", $target_member);
    7277
    7378        //ターゲットのid
  • OpenPNE/branches/ebihara/prj_bugfix/webapp/modules/pc/templates/h_message.tpl

    r1081 r1292  
    284284<div class="padding_s">
    285285
    286 ({if $box == 'inbox' || !$box })
     286({if ($box == 'inbox' || !$box) && $c_message.c_member_nickname_from})
    287287({t_form m=pc a=page_f_message_send})
    288288<input type="hidden" name="target_c_message_id" value="({$c_message.c_message_id})">
Note: See TracChangeset for help on using the changeset viewer.