Ignore:
Timestamp:
2012/02/28 22:35:14 (12 years ago)
Author:
Seasoft
Message:

#1669 (変数の初期化漏れ)
#1613 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php

    r21527 r21563  
    200200        $table = 'dtb_best_products'; 
    201201        $where = 'category_id = ? AND rank = ?'; 
    202         $arrval = array($arrPost['category_id'],$arrPost['rank']); 
    203         $objQuery->delete($table, $where, $arrval); 
     202        $arrWhereVal = array($arrPost['category_id'],$arrPost['rank']); 
     203        $objQuery->delete($table, $where, $arrWhereVal); 
    204204    } 
    205205 
     
    214214        $table = 'dtb_products'; 
    215215        $where = 'product_id = ? AND del_flg = 0'; 
    216         $arrval = array($product_id); 
    217         $arrProduct = $objQuery->select($col, $table, $where, $arrval); 
     216        $arrWhereVal = array($product_id); 
     217        $arrProduct = $objQuery->select($col, $table, $where, $arrWhereVal); 
    218218        return $arrProduct[0]; 
    219219    } 
Note: See TracChangeset for help on using the changeset viewer.