Changeset 18290


Ignore:
Timestamp:
2009/09/14 16:01:04 (12 years ago)
Author:
Seasoft
Message:

商品詳細で「前頁のURLを記録しておく」が意図せず呼ばれているのを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php

    r18278 r18290  
    8181        $product_id = $this->lfCheckProductId(); 
    8282 
    83         $objView = new SC_SiteView(); 
     83        $objView = new SC_SiteView(strlen($_POST['mode']) == 0); 
    8484        $objCustomer = new SC_Customer(); 
    8585        $objQuery = new SC_Query(); 
     
    205205                    } 
    206206 
    207                     $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 
    208207                    $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $this->objFormParam->getValue('quantity')); 
    209208 
     
    423422                } 
    424423 
    425                 $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 
    426424                $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $this->objFormParam->getValue('quantity')); 
    427425                $this->sendRedirect($this->getLocation(MOBILE_URL_CART_TOP), true); 
Note: See TracChangeset for help on using the changeset viewer.