Changeset 15449


Ignore:
Timestamp:
2007/08/30 11:44:53 (13 years ago)
Author:
nanasess
Message:

未定義変数の対応
svn:mime-type 変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/SC_UploadFile.php

    • Property svn:mime-type changed from application/x-httpd-php; charset=UTF-8 to text/x-httpd-php; charset=utf-8
    r15358 r15449  
    143143 
    144144                $objImage->moveTempImage($this->temp_file[$cnt], $this->save_dir); 
     145 
    145146                // すでに保存ファイルがあった場合は削除する。 
    146                 if($this->save_file[$cnt] != "" && !ereg("^sub/", $this->save_file[$cnt])) { 
     147                if(isset($this->save_file[$cnt]) 
     148                   && $this->save_file[$cnt] != "" 
     149                   && !ereg("^sub/", $this->save_file[$cnt])) { 
     150 
    147151                    $objImage->deleteImage($this->save_file[$cnt], $this->save_dir); 
    148152                } 
     
    236240                $arrRet[$val] = $this->temp_file[$cnt]; 
    237241            } else  { 
    238                 $arrRet[$val] = $this->save_file[$cnt]; 
     242                $arrRet[$val] = isset($this->save_file[$cnt]) ? $this->save_file[$cnt] : ""; 
    239243            } 
    240244            $cnt++; 
Note: See TracChangeset for help on using the changeset viewer.