Ignore:
Timestamp:
2012/11/04 07:02:38 (10 years ago)
Author:
pineray
Message:

#1958 (別お届け先関連の処理をページクラスから分離)

関数名が冗長なので変更.
other_deliv_id だけで対象を特定できるので引数を整理.

File:
1 edited

Legend:

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

    r22065 r22069  
    136136 
    137137                if ($_GET['other_deliv_id'] != '') { 
    138                     $arrOtherDeliv = $objAddress->getAddress($objCustomer->getValue('customer_id'), $_SESSION['other_deliv_id']); 
     138                    $arrOtherDeliv = $objAddress->get($_SESSION['other_deliv_id']); 
    139139 
    140140                    //不正アクセス判定 
     
    171171        $sqlval     = $objFormParam->getDbArray(); 
    172172 
     173        $sqlval['other_deliv_id'] = $arrRet['other_deliv_id']; 
    173174        $sqlval['customer_id'] = $customer_id; 
    174175 
    175         $objAddress->registAddress($customer_id, $sqlval, $arrRet['other_deliv_id']); 
     176        $objAddress->save($sqlval); 
    176177    } 
    177178 
Note: See TracChangeset for help on using the changeset viewer.