Commit 52162fde authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-797 Fixed WBXML class constant.

Released under the Affero GNU General Public License (AGPL) version 3.
parent fb28fd40
......@@ -305,7 +305,7 @@ class WBXMLEncoder extends WBXMLDefs {
*/
private function _contentStream($stream, $asBase64) {
// write full stream, including the finalizing terminator to the output stream (stuff outTermStr() would do)
$this->outByte(WBXML_STR_I);
$this->outByte(self::WBXML_STR_I);
fseek($stream, 0, SEEK_SET);
if ($asBase64) {
$out_filter = stream_filter_append($this->_out, 'convert.base64-encode');
......
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