Changeset 22945


Ignore:
Timestamp:
2013/07/07 16:48:52 (7 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
不要な変数を削除

Location:
branches/version-2_13-dev/data/class/pages/rss
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/rss/LC_Page_Rss.php

    r22926 r22945  
    9494 
    9595        // RSS用に変換 
    96         foreach ($arrNews as $key => $value) { 
     96        foreach (array_keys($arrNews) as $key) { 
    9797            $netUrlHttpUrl = new Net_URL(HTTP_URL); 
    9898 
  • branches/version-2_13-dev/data/class/pages/rss/LC_Page_Rss_Products.php

    r22926 r22945  
    133133        } 
    134134        // 値の整形 
    135         foreach ($arrProduct as $key => $val) { 
     135        foreach (array_keys($arrProduct) as $key) { 
    136136            //販売価格を税込みに編集 
    137137            $arrProduct[$key]['price02'] = SC_Helper_DB_Ex::sfCalcIncTax($arrProduct[$key]['price02']); 
     
    196196        $arrProduct = $this->lfGetProductsAllclass($objQuery); 
    197197        // 値の整形 
    198         foreach ($arrProduct as $key => $val) { 
     198        foreach (array_keys($arrProduct) as $key) { 
    199199            // 画像ファイルのURLセット 
    200200            if (file_exists(IMAGE_SAVE_REALDIR . $arrProduct[$key]['main_list_image'])) { 
Note: See TracChangeset for help on using the changeset viewer.