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

Changeset 9139


Ignore:
Timestamp:
Nov 14, 2008, 1:11:25 AM (12 years ago)
Author:
akamine
Message:

#2032 PEAR標準コーティング規約通りに修正とPCに設定が反映されないのを修正

Location:
OpenPNE/branches/stable-2.12.x/webapp/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/webapp/lib/db/point.php

    r9062 r9139  
    3232function db_rank_up_pcktai_config($c_member_id)
    3333{
    34     $sql = 'SELECT * FROM c_member_config '.
     34    $sql = 'SELECT COUNT(*) FROM c_member_config '.
    3535        'WHERE c_member_id = ? AND name = "SEND_RANK_UP_MAIL_KTAI" '.
    3636        'OR c_member_id = ? AND name = "SEND_RANK_UP_MAIL_PC"';
  • OpenPNE/branches/stable-2.12.x/webapp/lib/util/mail_send.php

    r9064 r9139  
    822822            $is_pc = true;
    823823        } else {
    824         $is_ktai = true;
     824            $is_ktai = true;
    825825        }
    826826    }
    827827    //設定された値を取得
    828828    $target_c_member_config = util_get_c_member_config($c_member_id);
    829     if ($target_c_member_config['SEND_RANK_UP_MAIL_PC']){
     829    if ($target_c_member_config['SEND_RANK_UP_MAIL_PC']) {
    830830        $is_pc = true;
    831831    }
    832     if ($target_c_member_config['SEND_RANK_UP_MAIL_KTAI']){
     832    if ($target_c_member_config['SEND_RANK_UP_MAIL_KTAI']) {
    833833        $is_ktai = true;
    834834    }
    835835    // PCに送信
    836     if ($is_pc){
     836    if ($is_pc) {
    837837        $to = $c_member['secure']['pc_address'];
    838838
     
    846846
    847847    // 携帯に送信
    848     if ($is_ktai){
     848    if ($is_ktai) {
    849849        $to = $c_member['secure']['ktai_address'];
    850850        $p = array('kad' => t_encrypt(db_member_username4c_member_id($c_member['c_member_id'], true)));
Note: See TracChangeset for help on using the changeset viewer.