Changeset 23671


Ignore:
Timestamp:
2014/10/28 19:13:19 (6 years ago)
Author:
shinichi_takahashi
Message:

#2453 支払方法・お届け先時間の指定画面のdeliv_idに数値チェックが行われていない に伴う修正

確認画面でお支払方法・お届け先時間が正しく表示されなくなっていた

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_3/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r23597 r23671  
    159159                $this->arrErr = $this->lfCheckError($objFormParam, $this->arrPrices['subtotal'], $this->tpl_user_point); 
    160160 
     161                $deliv_id = $objFormParam->getValue('deliv_id'); 
     162                if (strval($deliv_id) !== strval(intval($deliv_id))) { 
     163                    $deliv_id = $this->arrDeliv[0]['deliv_id']; 
     164                    $objFormParam->setValue('deliv_id', $deliv_id); 
     165                } 
     166                 
     167                $arrSelectedDeliv = $this->getSelectedDeliv($objCartSess, $deliv_id); 
     168                $this->arrPayment = $arrSelectedDeliv['arrPayment']; 
     169                $this->arrDelivTime = $arrSelectedDeliv['arrDelivTime']; 
     170                $this->img_show = $arrSelectedDeliv['img_show']; 
     171 
    161172                if (empty($this->arrErr)) { 
    162173                    $this->saveShippings($objFormParam, $this->arrDelivTime); 
     
    169180                    SC_Response_Ex::sendRedirect(SHOPPING_CONFIRM_URLPATH); 
    170181                    SC_Response_Ex::actionExit(); 
    171                 } else { 
    172                     $deliv_id = $objFormParam->getValue('deliv_id'); 
    173  
    174                     if (strval($deliv_id) !== strval(intval($deliv_id))) { 
    175                         $deliv_id = $this->arrDeliv[0]['deliv_id']; 
    176                         $objFormParam->setValue('deliv_id', $deliv_id); 
    177                     } 
    178  
    179                     $arrSelectedDeliv = $this->getSelectedDeliv($objCartSess, $deliv_id); 
    180                     $this->arrPayment = $arrSelectedDeliv['arrPayment']; 
    181                     $this->arrDelivTime = $arrSelectedDeliv['arrDelivTime']; 
    182                     $this->img_show = $arrSelectedDeliv['img_show']; 
    183  
    184182                } 
    185183 
Note: See TracChangeset for help on using the changeset viewer.