From: Marcus Boerger Date: Tue, 20 Jan 2004 07:27:47 +0000 (+0000) Subject: Fix warning (and possible problem) X-Git-Tag: php_ibase_before_split~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=920358a0cc015c7b7c4c9b0ddf24feec9d47cb56;p=php Fix warning (and possible problem) --- diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c index 977407fea5..76767fa1f7 100644 --- a/ext/dom/xpath.c +++ b/ext/dom/xpath.c @@ -251,6 +251,8 @@ PHP_FUNCTION(dom_xpath_query) child = php_dom_create_object(node, &ret, NULL, child, intern TSRMLS_CC); add_next_index_zval(retval, child); } + } else { + RETURN_FALSE; } php_dom_create_interator(return_value, DOM_NODELIST TSRMLS_CC);