diff options
-rw-r--r-- | php-mcnetic-zipstreamer-warn.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-mcnetic-zipstreamer-warn.patch b/php-mcnetic-zipstreamer-warn.patch index e96c1e7..0e6295c 100644 --- a/php-mcnetic-zipstreamer-warn.patch +++ b/php-mcnetic-zipstreamer-warn.patch @@ -5,7 +5,7 @@ public function update($data) { - return $this->peclDeflateStream->update($data); -+ return ($data ? $this->peclDeflateStream->update($data) : @$this->peclDeflateStream->update($data)); ++ return ($data ? $this->peclDeflateStream->update($data) : false); } public function finish() { |