Browse Source

- Fixed compilation on the 'broken' IRIX native compiler.

PEAR_1_4DEV
Derick Rethans 22 years ago
parent
commit
f66c62cef8
  1. 2
      ext/simplexml/simplexml.c

2
ext/simplexml/simplexml.c

@ -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…
Cancel
Save