diff options
| author | Marcus Boerger <helly@php.net> | 2004-01-20 07:27:47 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-01-20 07:27:47 +0000 |
| commit | 920358a0cc015c7b7c4c9b0ddf24feec9d47cb56 (patch) | |
| tree | b363784ebd164e20f4b1d7cc02e0a4443497ab0c /ext | |
| parent | bd306c8b522d649bec2f32386034cf75059565b0 (diff) | |
| download | php-git-920358a0cc015c7b7c4c9b0ddf24feec9d47cb56.tar.gz | |
Fix warning (and possible problem)
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/dom/xpath.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
