mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
fix TypeError: fpassthru(): Argument #1 ($stream) must be of type resource, string given
This commit is contained in:
parent
a312b7fe71
commit
84bc75f21e
@ -453,7 +453,7 @@ class importexport_export_ui {
|
|||||||
($_GET['_type'] ? $_GET['_type'] : 'application/text') . ($charset ? '; charset='.$charset : ''),
|
($_GET['_type'] ? $_GET['_type'] : 'application/text') . ($charset ? '; charset='.$charset : ''),
|
||||||
filesize($tmpfname));
|
filesize($tmpfname));
|
||||||
|
|
||||||
fpassthru($tmpfname);
|
readfile($tmpfname);
|
||||||
|
|
||||||
unlink($tmpfname);
|
unlink($tmpfname);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user