Ignore:
Timestamp:
2013/04/04 18:44:04 (11 years ago)
Author:
pineray
Message:

#2166 新規登録したカテゴリーでIDを取得できない不具合を修正.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_Category.php

    r22603 r22777  
    5252    { 
    5353        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    54         $col = '*'; 
     54        $col = 'dtb_category.*, dtb_category_total_count.product_count'; 
    5555        $from = 'dtb_category left join dtb_category_total_count ON dtb_category.category_id = dtb_category_total_count.category_id'; 
    5656        $where = 'dtb_category.category_id = ? AND del_flg = 0'; 
     
    7575        if (!isset($arrCategory[$this->count_check])) { 
    7676            $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    77             $col = '*'; 
     77            $col = 'dtb_category.*, dtb_category_total_count.product_count'; 
    7878            $from = 'dtb_category left join dtb_category_total_count ON dtb_category.category_id = dtb_category_total_count.category_id'; 
    7979            // 登録商品数のチェック 
Note: See TracChangeset for help on using the changeset viewer.