Ignore:
Timestamp:
2014/05/03 17:27:26 (10 years ago)
Author:
kimoto
Message:

#2386 ダウンロード商品購入時の$objPurchase->getShippingPrefのwarningを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_Purchase.php

    r23395 r23397  
    312312    public function getShippingTemp($has_shipment_item = false) 
    313313    { 
    314         // ダウンロード商品の場合setされていない 
    315         if (!isset($_SESSION['shipping'])) return; 
     314        // ダウンロード商品の場合setされていないので空の配列を返す. 
     315        if (!isset($_SESSION['shipping'])) return array(); 
    316316        if ($has_shipment_item) { 
    317317            $arrReturn = array(); 
Note: See TracChangeset for help on using the changeset viewer.