mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 19:39:39 +01:00
need to return stat array
This commit is contained in:
parent
e6a751e1c5
commit
d1038c6d65
@ -2092,7 +2092,7 @@ class Vfs extends Vfs\StreamWrapper
|
|||||||
{
|
{
|
||||||
$ret = ($dest = self::fopen($target, 'w')) &&
|
$ret = ($dest = self::fopen($target, 'w')) &&
|
||||||
stream_copy_to_stream($tmp_name, $dest) !== false &&
|
stream_copy_to_stream($tmp_name, $dest) !== false &&
|
||||||
fclose($dest) && self::stat($target);
|
fclose($dest) ? self::stat($target) : false;
|
||||||
|
|
||||||
fclose($tmp_name);
|
fclose($tmp_name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user