mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
- Fixed compilation on the 'broken' IRIX native compiler.
This commit is contained in:
parent
f59ac64430
commit
f66c62cef8
@ -1279,7 +1279,7 @@ SXE_METHOD(__construct)
|
||||
php_std_error_handling();
|
||||
docp = xmlParseMemory(data, data_len);
|
||||
if (!docp) {
|
||||
(php_libxml_node_object *)sxe->document = NULL;
|
||||
((php_libxml_node_object *)sxe)->document = NULL;
|
||||
zend_throw_exception(zend_exception_get_default(), "String could not be parsed as XML", 0 TSRMLS_CC);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user