Changeset 16572


Ignore:
Timestamp:
2007/10/26 11:29:53 (16 years ago)
Author:
nanasess
Message:

未定義変数チェック修正

File:
1 edited

Legend:

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

    r15681 r16572  
    292292                // 必須であればエラーチェック 
    293293                if ($this->necessary[$cnt] == true) { 
    294                     if(isset($this->save_file[$cnt]) && $this->save_file[$cnt] == "" 
    295                             && isset($this->temp_file[$cnt]) && $this->temp_file[$cnt] == "") { 
     294                    if (!isset($this->save_file[$cnt])) $this->save_file[$cnt] = ""; 
     295                    if (!isset($this->temp_file[$cnt])) $this->temp_file[$cnt] = ""; 
     296                    if($this->save_file[$cnt] == "" 
     297                            &&  $this->temp_file[$cnt] == "") { 
    296298                        $arrRet[$val] = "※ " . $this->disp_name[$cnt] . "がアップロードされていません。<br>"; 
    297299                    } 
Note: See TracChangeset for help on using the changeset viewer.