Ignore:
Timestamp:
2011/01/28 17:54:13 (15 years ago)
Author:
eccuore
Message:

#642(共通ロジックの機能向上) mode 取得用の関数を利用するように修正ミス(switchリファクタリングは一部対応)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php

    r20041 r20044  
    148148            $this->arrForm = $this->objFormParam->getHashArray(); 
    149149 
     150            switch ($this->getMode()) { 
     151            case 'confirm': 
    150152            //-- 確認 
    151             if ($this->getMode() == "confirm") { 
    152  
    153153                $this->arrErr = $this->lfErrorCheck(); 
    154154 
     
    165165                    $this->tpl_title = '会員登録(確認ページ)'; 
    166166                } 
    167  
    168             } elseif ($this->getMode() == "complete") { 
     167                break; 
     168            case 'complete': 
    169169                //-- 会員登録と完了画面 
    170170 
     
    182182                SC_Response_Ex::sendRedirect('complete.php', array("ci" => $customer_id)); 
    183183                exit; 
    184  
     184                break; 
     185            default: 
     186                break; 
    185187            } 
    186188        } 
Note: See TracChangeset for help on using the changeset viewer.