- Timestamp:
- 2007/10/19 23:07:18 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_Customer.php
r16380 r16527 171 171 function setLogin($email) { 172 172 // 本登録された会員のみ 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)); 175 175 $data = isset($result[0]) ? $result[0] : ""; 176 176 $this->customer_data = $data;
Note: See TracChangeset
for help on using the changeset viewer.
