summaryrefslogtreecommitdiffstats
path: root/php-mcnetic-zipstreamer-warn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-mcnetic-zipstreamer-warn.patch')
-rw-r--r--php-mcnetic-zipstreamer-warn.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-mcnetic-zipstreamer-warn.patch b/php-mcnetic-zipstreamer-warn.patch
new file mode 100644
index 0000000..e96c1e7
--- /dev/null
+++ b/php-mcnetic-zipstreamer-warn.patch
@@ -0,0 +1,11 @@
+--- src/ZipStreamer.php.rpm 2016-01-08 12:15:06.445995538 +0100
++++ src/ZipStreamer.php 2016-01-08 12:15:32.810095324 +0100
+@@ -668,7 +668,7 @@
+ }
+
+ public function update($data) {
+- return $this->peclDeflateStream->update($data);
++ return ($data ? $this->peclDeflateStream->update($data) : @$this->peclDeflateStream->update($data));
+ }
+
+ public function finish() {