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

#616 の対応。
携帯メールアドレスが登録されていれば、携帯サイトからの登録とみなす。
かなり簡易的な判定なので、将来的には直した方が良い。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer.php

    r17791 r18591  
    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(); 
     228                } else { 
     229                    $objMailText = new SC_SiteView(); 
     230                } 
    223231                $objMailText->assignobj($this); 
    224232                $mailHelper = new SC_Helper_Mail_Ex(); 
Note: See TracChangeset for help on using the changeset viewer.