Ignore:
Timestamp:
2010/07/20 13:25:33 (16 years ago)
Author:
kajiwara
Message:

EC-CUBE Ver2.4.4 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/class/pages/admin/customer/LC_Page_Admin_Customer.php

    r18007 r18758  
    33 * This file is part of EC-CUBE 
    44 * 
    5  * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 
     5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved. 
    66 * 
    77 * http://www.lockon.co.jp/ 
     
    215215        // 登録メール再送 
    216216        if ($_POST['mode'] == "resend_mail") { 
    217             $arrRet = $objQuery->select("name01, name02, secret_key, email", "dtb_customer","customer_id = ? AND del_flg <> 1 AND status = 1", array($_POST["edit_customer_id"])); 
     217            $arrRet = $objQuery->select("name01, name02, secret_key, email, email_mobile", "dtb_customer","customer_id = ? AND del_flg <> 1 AND status = 1", array($_POST["edit_customer_id"])); 
    218218            if( is_array($arrRet) === true && count($arrRet) > 0 ){ 
    219219 
    220220                $CONF = $objDb->sf_getBasisData(); 
    221221                $this->CONF = $CONF; 
    222                 $objMailText = new SC_SiteView(); 
     222                /** 
     223                 * 携帯メールアドレスが登録されていれば携帯サイトから仮会員登録したものと判定する。 
     224                 * TODO: とりあえずの簡易的な判定なので、将来的には判定ルーチンを修正した方が良い。 
     225                 */ 
     226                if (!empty($arrRet[0]['email_mobile'])) { 
     227                    $objMailText = new SC_MobileView(false); 
     228                    $this->to_name01 = $arrRet[0]['name01']; 
     229                    $this->to_name02 = $arrRet[0]['name02']; 
     230                } else { 
     231                    $objMailText = new SC_SiteView(false); 
     232                } 
    223233                $objMailText->assignobj($this); 
    224234                $mailHelper = new SC_Helper_Mail_Ex(); 
Note: See TracChangeset for help on using the changeset viewer.