Ignore:
Timestamp:
2009/07/08 00:46:24 (15 years ago)
Author:
kishida
Message:

#420:商品CSVダウンロード時に関連商品(おすすめ商品)の内容が出力されないの修正

File:
1 edited

Legend:

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

    r18121 r18174  
    144144 
    145145            // 各項目をCSV出力用に変換する。 
    146             $data .= $this->lfMakeProductsCSV($list_data[$i], $arrOutputCols); 
     146            $data .= $this->lfMakeProductsCSV($list_data[$i]); 
    147147        } 
    148148        return $data; 
     
    256256 
    257257    // 各項目をCSV出力用に変換する。(商品) 
    258     function lfMakeProductsCSV($list, $arrOutputCols) { 
     258    function lfMakeProductsCSV($list) { 
    259259        $line = ""; 
    260260        if(is_array($list)) { 
    261             reset($arrOutputCols); 
    262             while(list($key, $val) = each($arrOutputCols)){ 
     261            reset($list); 
     262            while(list($key, $val) = each($list)){ 
    263263                $tmp = ""; 
    264264                switch($key) { 
     
    267267                        $tmp = '0'; 
    268268                    } else { 
    269                         $tmp = $list[$val]; 
     269                        $tmp = $val; 
    270270                    } 
    271271                    break; 
    272272                default: 
    273                     $tmp = $list[$val]; 
     273                    $tmp = $val; 
    274274                    break; 
    275275                } 
Note: See TracChangeset for help on using the changeset viewer.