Ignore:
Timestamp:
2010/05/08 16:42:15 (14 years ago)
Author:
Seasoft
Message:

merge r18516(一部)

  • 取得元: version-2_4
  • /data/class/helper/SC_Helper_DB.php は反映を保留。#545 で仕様変更が決定しているため。

【取得元のログメッセージ】
merged r18465

  • SALE_LIMIT_MAX が無視されている(#545)
Location:
branches/comu-ver2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2

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

    r18374 r18636  
    231231        $this->arrProduct = $arrRet[0]; 
    232232 
    233         // 購入制限数を取得 
    234         if (!SC_Utils_Ex::sfIsInt($this->arrProduct['sale_limit']) || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) { 
    235           $this->tpl_sale_limit = SALE_LIMIT_MAX; 
    236         } else { 
    237           $this->tpl_sale_limit = $this->arrProduct['sale_limit']; 
    238         } 
    239233         
    240234        // サブタイトルを取得 
     
    432426        $arrRet = $objQuery->select("*", "vw_products_allclass_detail AS alldtl", "product_id = ?", array($product_id)); 
    433427        $this->arrProduct = $arrRet[0]; 
    434  
    435         // 購入制限数を取得 
    436         if (!SC_Utils_Ex::sfIsInt($this->arrProduct['sale_limit']) || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) { 
    437             $this->tpl_sale_limit = SALE_LIMIT_MAX; 
    438         } else { 
    439             $this->tpl_sale_limit = $this->arrProduct['sale_limit']; 
    440         } 
    441428 
    442429        // サブタイトルを取得 
Note: See TracChangeset for help on using the changeset viewer.