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

Ignore:
Timestamp:
Dec 18, 2006, 10:42:52 PM (16 years ago)
Author:
takanashi
Message:

PNEPoint確認用

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/admin/do/send_messages_search.php

    r276 r1265  
    2828        $c_member_id_list = _db_admin_c_member_id_list($cond_list);
    2929
    30         foreach ($c_member_id_list as $c_member_id) {
    31             if ($c_member_id_from == $c_member_id) continue;
     30        $send_num = 0;
     31        foreach ($c_member_id_list as $key => $c_member_id) {
     32            if ($c_member_id_from == $c_member_id) {
     33                $c_member_id_list[$key] = null;
     34                continue;
     35            }
    3236            switch ($send_type) {
    3337                case "mail":
     
    4145                break;
    4246            }
     47            $send_num++;
    4348        }
     49
     50        //送信履歴登録
     51        db_admin_insert_c_send_messages_history(
     52            $requests['subject'],
     53            $requests['body'],
     54            $send_num,
     55            $send_type,
     56            $c_member_id_list
     57        );
    4458
    4559        switch ($send_type) {
Note: See TracChangeset for help on using the changeset viewer.