Changeset 20880


Ignore:
Timestamp:
2011/04/21 16:27:06 (15 years ago)
Author:
nanasess
bzr:base-revision:
[email protected]
bzr:committer:
Kentaro Ohkouchi <[email protected]>
bzr:file-ids:

data/class/pages/shopping/LC_Page_Shopping_Payment.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping_Payment.php
bzr:mapping-version:
v4
bzr:merge:

[email protected]
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
[email protected]
bzr:revno:
3591
bzr:revprop:branch-nick:
branches/version-2_11-dev
bzr:root:
branches/version-2_11-dev
bzr:text-revisions:

data/class/pages/shopping/LC_Page_Shopping_Payment.php [email protected]
bzr:timestamp:
2011-04-21 16:27:03.971999884 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2011-04-21T07:27:03.972000Z
Message:

#1222 (モバイル>配送方法を選択しなかった場合にエラーにならない)

File:
1 edited

Legend:

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

    r20874 r20880  
    136136            $this->setFormParams($objFormParam, $_POST, true, $this->arrShipping); 
    137137 
    138             $arrErr = $objFormParam->checkError(); 
    139             if (SC_Utils_Ex::isBlank($arrErr)) { 
     138            $this->arrErr = $objFormParam->checkError(); 
     139            if (SC_Utils_Ex::isBlank($this->arrErr)) { 
    140140                $deliv_id = $objFormParam->getValue('deliv_id'); 
    141141                $arrSelectedDeliv = $this->getSelectedDeliv($objPurchase, $objCartSess, $deliv_id); 
     
    143143            } else { 
    144144                $arrSelectedDeliv = array('error' => true); 
     145                $this->tpl_mainpage = 'shopping/select_deliv.tpl'; // モバイル用 
    145146            } 
    146147 
     
    212213 
    213214        // モバイル用 ポストバック処理 
    214         if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 
     215        if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE 
     216            && SC_Utils_Ex::isBlank($this->arrErr)) { 
    215217            $this->tpl_mainpage = $this->getMobileMainpage($this->is_single_deliv, $this->getMode()); 
    216218        } 
Note: See TracChangeset for help on using the changeset viewer.