mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
fix TypeError: fpassthru(): Argument #1 ($stream) must be of type resource, string given
This commit is contained in:
parent
554d125d96
commit
12c0f4efd6
@ -453,11 +453,11 @@ 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);
|
||||||
|
|
||||||
// Try to avoid any extra finishing output
|
// Try to avoid any extra finishing output
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
} // end class uiexport
|
} // end class uiexport
|
Loading…
Reference in New Issue
Block a user