Changeset 23201


Ignore:
Timestamp:
2013/09/09 16:38:31 (7 years ago)
Author:
michael_nelson
Message:

#2116 仮登録メール再送で会員登録完了メールが送信されます

Location:
branches/version-2_13_0/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/class/helper/SC_Helper_Mail.php

    r23126 r23201  
    320320     * @return boolean true:成功 false:失敗 
    321321     */ 
    322     public function sfSendRegistMail($secret_key, $customer_id = '', $is_mobile = false) 
     322    public function sfSendRegistMail($secret_key, $customer_id = '', $is_mobile = false, $resend_flg = false) 
    323323    { 
    324324        // 会員データの取得 
     
    345345        $objHelperMail  = new SC_Helper_Mail_Ex(); 
    346346 
    347         // 仮会員が有効の場合 
    348         if (CUSTOMER_CONFIRM_MAIL == true and $arrCustomerData['status'] == 1) { 
     347        // 仮会員が有効の場合     
     348        if (CUSTOMER_CONFIRM_MAIL == true and $arrCustomerData['status'] == 1 or $arrCustomerData['status'] == 1 and $resend_flg = true) { 
    349349            $subject        = $objHelperMail->sfMakeSubject('会員登録のご確認', $objMailText); 
    350350            $toCustomerMail = $objMailText->fetch('mail_templates/customer_mail.tpl'); 
     
    352352            $subject        = $objHelperMail->sfMakeSubject('会員登録のご完了', $objMailText); 
    353353            $toCustomerMail = $objMailText->fetch('mail_templates/customer_regist_mail.tpl'); 
     354             
    354355        } 
    355356 
  • branches/version-2_13_0/data/class/pages/admin/customer/LC_Page_Admin_Customer.php

    r23126 r23201  
    187187            return false; 
    188188        } 
     189        //仮登録メール再送 
     190        $resend_flg = true;  
    189191        // 登録メール再送 
    190192        $objHelperMail = new SC_Helper_Mail_Ex(); 
    191193        $objHelperMail->setPage($this); 
    192         $objHelperMail->sfSendRegistMail($arrData['secret_key'], $customer_id); 
    193  
     194        $objHelperMail->sfSendRegistMail($arrData['secret_key'], $customer_id, $resend_flg); 
    194195        return true; 
    195196    } 
Note: See TracChangeset for help on using the changeset viewer.