Ignore:
Timestamp:
2012/06/20 11:57:43 (10 years ago)
Author:
pineray
Message:

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

File:
1 edited

Legend:

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

    r21867 r21927  
    144144    function sfIsImportCSVFrame(&$arrCSVFrame) { 
    145145        $result = true; 
    146         foreach ($arrCSVFrame as $key => $val) { 
     146        foreach ($arrCSVFrame as $val) { 
    147147            if ($val['status'] != CSV_COLUMN_STATUS_FLG_ENABLE 
    148148                && $val['rw_flg'] == CSV_COLUMN_RW_FLG_READ_WRITE 
     
    165165    function sfIsUpdateCSVFrame(&$arrCSVFrame) { 
    166166        $result = true; 
    167         foreach ($arrCSVFrame as $key => $val) { 
     167        foreach ($arrCSVFrame as $val) { 
    168168            if ($val['status'] != CSV_COLUMN_STATUS_FLG_ENABLE 
    169169                && $val['rw_flg'] == CSV_COLUMN_RW_FLG_KEY_FIELD 
     
    337337 
    338338        /* HTTPヘッダの出力 */ 
    339         Header("Content-disposition: attachment; filename=${file_name}"); 
    340         Header("Content-type: application/octet-stream; name=${file_name}"); 
     339        Header("Content-disposition: attachment; filename={$file_name}"); 
     340        Header("Content-type: application/octet-stream; name={$file_name}"); 
    341341        Header('Cache-Control: '); 
    342342        Header('Pragma: '); 
Note: See TracChangeset for help on using the changeset viewer.