Ignore:
Timestamp:
2014/05/12 13:36:22 (10 years ago)
Author:
m_uehara
Message:

#2541 SC_Helper_Addressの処理の改善

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_2/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php

    r23279 r23408  
    141141 
    142142                if ($_GET['other_deliv_id'] != '') { 
    143                     $arrOtherDeliv = $objAddress->getAddress($_SESSION['other_deliv_id']); 
     143                    $arrOtherDeliv = $objAddress->getAddress($_SESSION['other_deliv_id'], $objCustomer->getValue('customer_id')); 
    144144 
    145145                    //不正アクセス判定 
     
    172172        $sqlval['customer_id'] = $customer_id; 
    173173 
    174         $objAddress->registAddress($sqlval); 
     174        if (!$objAddress->registAddress($sqlval)) { 
     175            SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, '別のお届け先を登録できませんでした。'); 
     176            SC_Response_Ex::actionExit(); 
     177        } 
    175178    } 
    176179 
Note: See TracChangeset for help on using the changeset viewer.