Changeset 15178


Ignore:
Timestamp:
2007/08/03 21:23:44 (14 years ago)
Author:
nanasess
Message:

リファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/products/LC_Page_Products_Detail.php

    r15172 r15178  
    139139            // 入力値の変換 
    140140            $this->objFormParam->convParam(); 
    141             $this->arrErr = lfCheckError(); 
     141            $this->arrErr = $this->lfCheckError(); 
    142142            if(count($this->arrErr) == 0) { 
    143143                $objCartSess = new SC_CartSession(); 
     
    156156 
    157157                $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 
    158                 $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $objFormParam->getValue('quantity')); 
     158                $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $this->objFormParam->getValue('quantity')); 
    159159                header("Location: " . URL_CART_TOP); 
    160160 
     
    187187        // サブタイトルを取得 
    188188        $arrFirstCat = SC_Utils_Ex::sfGetFirstCat($arrRet[0]['category_id']); 
    189         $tpl_subtitle = $arrFirstCat['name']; 
    190         $this->tpl_subtitle = $tpl_subtitle; 
     189        $this->tpl_subtitle = $arrFirstCat['name']; 
    191190 
    192191        // DBからのデータを引き継ぐ 
Note: See TracChangeset for help on using the changeset viewer.