Changeset 21905


Ignore:
Timestamp:
2012/06/11 12:45:48 (9 years ago)
Author:
shutta
Message:

#1862 E_WARNINGエラーが出る部分を修正
商品規格登録時のE_WARNINGエラーを修正。

File:
1 edited

Legend:

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

    r21867 r21905  
    639639        $objImage = new SC_Image_Ex(DOWN_TEMP_REALDIR); 
    640640        $arrRealFileName = $objFormParam->getValue('down_realfilename'); 
    641         foreach ($arrRealFileName as $real_file_name) { 
    642             $objImage->moveTempImage($real_file_name, DOWN_SAVE_REALDIR); 
     641        if (is_array($arrRealFileName)) { 
     642            foreach ($arrRealFileName as $real_file_name) { 
     643                $objImage->moveTempImage($real_file_name, DOWN_SAVE_REALDIR); 
     644            } 
    643645        } 
    644646    } 
Note: See TracChangeset for help on using the changeset viewer.