summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-04-17 23:29:35 +0200
committerNikita Popov <nikic@php.net>2014-04-18 00:15:13 +0200
commit59d45e69f4a24935719230cea3d25a0c9701511e (patch)
tree7539f4129cec3c7c872c9eeb269133e1c02e11d8 /ext/libxml/libxml.c
parent3434d3fc98881ee5cd45b2b57afc789fd69b810b (diff)
downloadphp-git-59d45e69f4a24935719230cea3d25a0c9701511e.tar.gz
Fix libxml/sxe/dom node import/export
Also fix sxe zts.
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r--ext/libxml/libxml.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}