Changeset 15447 for branches


Ignore:
Timestamp:
2007/08/30 11:26:09 (17 years ago)
Author:
nanasess
Message:

未定義変数の対応

File:
1 edited

Legend:

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

    r15369 r15447  
    3636    // 商品購入中の変更があったかをチェックする。 
    3737    function getCancelPurchase() { 
    38         $ret = $_SESSION[$this->key]['cancel_purchase']; 
     38        $ret = isset($_SESSION[$this->key]['cancel_purchase']) 
     39            ? $_SESSION[$this->key]['cancel_purchase'] : ""; 
    3940        $_SESSION[$this->key]['cancel_purchase'] = false; 
    4041        return $ret; 
Note: See TracChangeset for help on using the changeset viewer.