diff options
Diffstat (limited to 'ext/dom/xpath.c')
| -rw-r--r-- | ext/dom/xpath.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c index 28b118e50c..4b693bb465 100644 --- a/ext/dom/xpath.c +++ b/ext/dom/xpath.c @@ -49,9 +49,7 @@ PHP_FUNCTION(dom_xpath_xpath) dom_object *docobj, *intern; xmlXPathContextPtr ctx, oldctx; - id = getThis(); - - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &doc) == FAILURE) { + if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oo", &id, dom_xpath_class_entry, &doc) == FAILURE) { return; } |
