Changeset 17988 for branches/version-2_4


Ignore:
Timestamp:
2009/04/27 17:57:57 (15 years ago)
Author:
kajiwara
Message:

#445 分の対応。sfGetCategoryIdの呼び出し方が不正な部分を修正いたしました。

Location:
branches/version-2_4/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/class/helper/SC_Helper_DB.php

    r17982 r17988  
    624624        $arrRet = $objQuery->select($col, $from, $where); 
    625625 
    626         $arrCategory_id = $this->sfGetCategoryId($product_id, $status); 
     626        $arrCategory_id = $this->sfGetCategoryId($product_id); 
    627627 
    628628        $arrCatTree = array(); 
  • branches/version-2_4/data/class/pages/products/LC_Page_Products_Detail.php

    r17931 r17988  
    239239        } 
    240240        // サブタイトルを取得 
    241         $arrCategory_id = $objDb->sfGetCategoryId($arrRet[0]['product_id'], $status); 
     241        $arrCategory_id = $objDb->sfGetCategoryId($arrRet[0]['product_id'],'',$status); 
    242242        $arrFirstCat = $objDb->sfGetFirstCat($arrCategory_id[0]); 
    243243        $this->tpl_subtitle = $arrFirstCat['name']; 
Note: See TracChangeset for help on using the changeset viewer.