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

Ignore:
Timestamp:
Oct 7, 2008, 8:51:23 PM (12 years ago)
Author:
shingo
Message:

#2992:変数、使用関数を簡潔ものに変更

File:
1 edited

Legend:

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

    r8586 r8601  
    9898        // 承認待ちメンバー登録処理
    9999        if ($public_flag == 'public' && $public_flag != $c_commu['public_flag']) {
    100             $c_commu_member_confirm_list = db_commu_c_commu_member_confirm4c_commu_id($target_c_commu_id);
    101             foreach ($c_commu_member_confirm_list as $c_commu_member_confirm) {
    102                 db_commu_join_c_commu($target_c_commu_id, $c_commu_member_confirm['c_member_id']);
    103                 do_inc_join_c_commu_send_mail($target_c_commu_id, $c_commu_member_confirm['c_member_id']);
    104                 db_commu_delete_c_commu_member_confirm($c_commu_member_confirm['c_commu_member_confirm_id']);
     100            $member_confirm_list = db_commu_c_commu_member_confirm4c_commu_id($target_c_commu_id);
     101            foreach ($member_confirm_list as $confirm_id => $c_member_id) {
     102                db_commu_join_c_commu($target_c_commu_id, $c_member_id);
     103                do_inc_join_c_commu_send_mail($target_c_commu_id, $c_member_id);
     104                db_commu_delete_c_commu_member_confirm($confirm_id);
    105105            }
    106106        }
Note: See TracChangeset for help on using the changeset viewer.