From: Rob Richards Date: Fri, 28 Nov 2003 17:39:25 +0000 (+0000) Subject: Fix for bug #26446: domxml_open_file() returns an empty error-Array X-Git-Tag: php-4.3.5RC1~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=405fcde229beff93e86f47ebbb02c53f5929da4f;p=php Fix for bug #26446: domxml_open_file() returns an empty error-Array --- diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 9295bfdf7e..32e2d3287c 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -4015,6 +4015,7 @@ static xmlDocPtr domxml_document_parser(int mode, int loadtype, char *source, vo ctxt->replaceEntities = substitute_ent; if (data != NULL) { + ctxt->_private = data; errorCtxt.valid = &ctxt->vctxt; errorCtxt.errors = data; errorCtxt.parser = ctxt;