Changeset 16116


Ignore:
Timestamp:
2007/09/27 22:17:34 (17 years ago)
Author:
nanasess
Message:

未定義変数の修正

File:
1 edited

Legend:

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

    r16087 r16116  
    6161        $sql = "SELECT * FROM dtb_customer WHERE (email = ?" . $sql_mobile . ") AND del_flg = 0 AND status = 2"; 
    6262        $result = $this->conn->getAll($sql, $arrValues); 
    63         $data = $result[0]; 
     63        if (empty($result)) { 
     64            return false; 
     65        } else { 
     66            $data = $result[0]; 
     67        } 
    6468 
    6569        // パスワードが合っていれば顧客情報をcustomer_dataにセットしてtrueを返す 
Note: See TracChangeset for help on using the changeset viewer.