Changeset 18592


Ignore:
Timestamp:
2010/03/02 19:06:41 (14 years ago)
Author:
shutta
Message:

#616 の対応。
r18591 と同一。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/admin/customer/LC_Page_Admin_Customer.php

    r18279 r18592  
    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 
     
    224224                $CONF = $objDb->sf_getBasisData(); 
    225225                $this->CONF = $CONF; 
    226                 $objMailText = new SC_SiteView(); 
     226                /** 
     227                 * 携帯メールアドレスが登録されていれば携帯サイトから仮会員登録したものと判定する。 
     228                 * TODO: とりあえずの簡易的な判定なので、将来的には判定ルーチンを修正した方が良い。 
     229                 */ 
     230                if (!empty($arrRet[0]['email_mobile'])) { 
     231                    $objMailText = new SC_MobileView(); 
     232                } else { 
     233                    $objMailText = new SC_SiteView(); 
     234                } 
    227235                $objMailText->assignobj($this); 
    228236                $mailHelper = new SC_Helper_Mail_Ex(); 
Note: See TracChangeset for help on using the changeset viewer.