diff options
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index a547709875..1dd76fcba8 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -2784,6 +2784,8 @@ static ZIPARCHIVE_METHOD(getStream) stream = php_stream_zip_open(obj->filename, filename->val, mode STREAMS_CC); if (stream) { php_stream_to_zval(stream, return_value); + } else { + RETURN_FALSE; } } /* }}} */ |