Fix: No mails w/o attachment, after upload of wrong files
This commit is contained in:
parent
5fe39a1cbf
commit
147de59bac
|
@ -36,10 +36,10 @@ 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", "file-$key-$i\n", FILE_APPEND | LOCK_EX);
|
||||||
file_put_contents("/tmp/log.txt", $files['name'][$i], 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'];
|
||||||
|
|
||||||
$_SESSION['files'][$tmpname]['content']=file_get_contents($tmpname);
|
}
|
||||||
$_SESSION['files'][$tmpname]['row']=$_GET['row'];
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue