Ignore:
Timestamp:
2007/10/19 23:07:18 (19 years ago)
Author:
nanasess
Message:

モバイルメールアドレスが未登録の場合に, 登録先住所への配送が空白になるデグレ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/SC_Customer.php

    r16380 r16527  
    171171    function setLogin($email) { 
    172172        // 本登録された会員のみ 
    173         $sql = "SELECT * FROM dtb_customer WHERE email = ? AND del_flg = 0 AND status = 2"; 
    174         $result = $this->conn->getAll($sql, array($email)); 
     173        $sql = "SELECT * FROM dtb_customer WHERE (email = ? OR email_mobile = ?) AND del_flg = 0 AND status = 2"; 
     174        $result = $this->conn->getAll($sql, array($email, $email)); 
    175175        $data = isset($result[0]) ? $result[0] : ""; 
    176176        $this->customer_data = $data; 
Note: See TracChangeset for help on using the changeset viewer.