Changeset 22104


Ignore:
Timestamp:
2012/11/17 20:09:29 (8 years ago)
Author:
Seasoft
Message:

#1968 (LC_Page_Products_Review 削除済み商品が表示される)
#1905 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Review.php

    r21867 r22104  
    124124        $this->arrForm['name'] = $this->lfGetProductName($this->arrForm['product_id']); 
    125125        if (empty($this->arrForm['name'])) { 
    126             SC_Utils_Ex::sfDispSiteError(PAGE_ERROR); 
     126            SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND); 
    127127        } 
    128128 
     
    195195        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    196196 
    197         return $objQuery->get('name', 'dtb_products', 'product_id = ? ', array($product_id)); 
     197        return $objQuery->get('name', 'dtb_products', 'product_id = ? AND del_flg = 0', array($product_id)); 
    198198    } 
    199199 
Note: See TracChangeset for help on using the changeset viewer.