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

Changeset 7607


Ignore:
Timestamp:
Jun 18, 2008, 4:05:59 PM (13 years ago)
Author:
ebihara
Message:

#1980:副管理者のいないコミュニティでも副管理者(c_member_id=0)宛にコミュニティ参加要請メッセージを送信していたのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/do/c_join_request_insert_c_commu_member_confirm.php

    r4933 r7607  
    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.