Commit 9bda1823 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #295 in ZP/z-push from bugfix/ZP-977-closing-streams-after-exporting to develop

* commit '5459f0e5':
  ZP-977 Closing streams after exporting.
parents 19824533 5459f0e5
......@@ -177,7 +177,7 @@ class WBXMLEncoder extends WBXMLDefs {
}
/**
* Puts content of a stream on the output stack.
* Puts content of a stream on the output stack AND closes it.
*
* @param resource $stream
* @param boolean $asBase64 if true, the data will be encoded as base64, default: false
......@@ -197,6 +197,8 @@ class WBXMLEncoder extends WBXMLDefs {
if (!$asBase64) {
stream_filter_remove($rnc_filter);
}
fclose($stream);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment