Changeset 16188


Ignore:
Timestamp:
2007/09/30 12:46:16 (16 years ago)
Author:
nanasess
Message:

未定義変数の修正

File:
1 edited

Legend:

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

    r16116 r16188  
    181181        $customer_id = $this->getValue('customer_id'); 
    182182        $arrRet = $this->conn->getAll($sql, array($customer_id)); 
    183         $this->customer_data = $arrRet[0]; 
     183        $this->customer_data = isset($arrRet[0]) ? $arrRet[0] : ""; 
    184184        $_SESSION['customer'] = $this->customer_data; 
    185185    } 
Note: See TracChangeset for help on using the changeset viewer.