From 59d45e69f4a24935719230cea3d25a0c9701511e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 17 Apr 2014 23:29:35 +0200 Subject: Fix libxml/sxe/dom node import/export Also fix sxe zts. --- ext/libxml/libxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/libxml/libxml.c') diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 705045eee4..d399f72b95 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -1152,7 +1152,7 @@ PHP_LIBXML_API xmlNodePtr php_libxml_import_node(zval *object TSRMLS_DC) while (ce->parent != NULL) { ce = ce->parent; } - if ((export_hnd = zend_hash_find_ptr(&php_libxml_exports, ce->name)) == SUCCESS) { + if ((export_hnd = zend_hash_find_ptr(&php_libxml_exports, ce->name))) { node = export_hnd->export_func(object TSRMLS_CC); } } -- cgit v1.2.1