Fix: No mails w/o attachment, after upload of wrong files
This commit is contained in:
parent
5fe39a1cbf
commit
147de59bac
1 changed files with 3 additions and 3 deletions
|
@ -36,11 +36,11 @@ foreach ($_FILES as $key=>$files){
|
|||
file_put_contents("/tmp/log.txt", "file-$key-$i\n", FILE_APPEND | LOCK_EX);
|
||||
file_put_contents("/tmp/log.txt", $files['name'][$i], FILE_APPEND | LOCK_EX);
|
||||
|
||||
}
|
||||
|
||||
$_SESSION['files'][$tmpname]['content']=file_get_contents($tmpname);
|
||||
$_SESSION['files'][$tmpname]['row']=$_GET['row'];
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue