Ignore:
Timestamp:
2011/01/28 16:19:40 (16 years ago)
Author:
eccuore
Message:

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

File:
1 edited

Legend:

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

    r19943 r20041  
    6464        //商品IDを取得 
    6565        $product_id = $_GET['product_id']; 
    66         $mode = $_GET['mode']; 
     66        $mode = $this->getMode(); 
    6767 
    6868        if(($product_id != "" and is_numeric($product_id)) or $mode == "all"){ 
    … …  
    215215            FROM  vw_products_allclass as allcls 
    216216            WHERE allcls.del_flg = 0 AND allcls.status = 1"; 
    217          
     217 
    218218        // 在庫無し商品の非表示 
    219219        if (NOSTOCK_HIDDEN === true) { 
    220220            $sql .= ' AND (allcls.stock_max >= 1 OR allcls.stock_unlimited_max = 1)'; 
    221221        } 
    222          
     222 
    223223        $sql .= " ORDER BY allcls.product_id"; 
    224          
     224 
    225225        $arrProduct = $objQuery->getAll($sql); 
    226226        return $arrProduct; 
Note: See TracChangeset for help on using the changeset viewer.