Ignore:
Timestamp:
2012/06/19 18:01:38 (14 years ago)
Author:
pineray
Message:

#1669 #1859 初期化漏れ、無駄な変数等

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Product.php

    r21867 r21926  
    548548     */ 
    549549    function setPriceTaxTo($arrProducts) { 
    550         foreach ($arrProducts as $key => $val) { 
     550        foreach (array_keys($arrProducts) as $key) { 
    551551            $arrProducts[$key]['price01_min_format'] = number_format($arrProducts[$key]['price01_min']); 
    552552            $arrProducts[$key]['price01_max_format'] = number_format($arrProducts[$key]['price01_max']); 
     
    599599     */ 
    600600    function alldtlSQL($where_products_class = '') { 
    601         $where_clause = ''; 
    602601        if (!SC_Utils_Ex::isBlank($where_products_class)) { 
    603602            $where_products_class = 'AND (' . $where_products_class . ')'; 
Note: See TracChangeset for help on using the changeset viewer.