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

Changeset 7596


Ignore:
Timestamp:
Jun 16, 2008, 8:20:15 PM (13 years ago)
Author:
masabon
Message:

#1980:コミュニティ参加要請メッセージが2通届くバグを修正しました

File:
1 edited

Legend:

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

    r4933 r7596  
    3939        list($subject, $body_disp) = create_message_commu_join_request($c_member_id_from, $body, $target_c_commu_id);
    4040        db_message_send_message_syoudaku($c_member_id_from, $c_commu['c_member_id_admin'], $subject, $body_disp);
    41         db_message_send_message_syoudaku($c_member_id_from, $c_commu['c_member_id_sub_admin'], $subject, $body_disp);
    42 
     41        if ($c_commu['c_member_id_sub_admin']) {
     42            db_message_send_message_syoudaku($c_member_id_from, $c_commu['c_member_id_sub_admin'], $subject, $body_disp);
     43        }
    4344        $p = array('target_c_commu_id' => $target_c_commu_id);
    4445        openpne_redirect('pc', 'page_c_home', $p);
Note: See TracChangeset for help on using the changeset viewer.