mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-31 02:39:49 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
88a1b6549b | ||
|
9e1d4a1d7a | ||
|
66168de897 | ||
|
0251dbf5c7 |
@@ -1537,7 +1537,7 @@ class ZipFile implements \Countable, \ArrayAccess, \Iterator
|
||||
if (!\is_resource($handle)) {
|
||||
throw new InvalidArgumentException('handle is not resource');
|
||||
}
|
||||
ftruncate($handle, 0);
|
||||
|
||||
$this->writeZipToStream($handle);
|
||||
fclose($handle);
|
||||
|
||||
|
Reference in New Issue
Block a user