diff options
| author | Rob Richards <rrichards@php.net> | 2004-01-22 21:16:05 +0000 |
|---|---|---|
| committer | Rob Richards <rrichards@php.net> | 2004-01-22 21:16:05 +0000 |
| commit | 7e619b7f5f0e1dbae7204e6c1ae72676d69d5166 (patch) | |
| tree | 912ebbbd4fbfb881c8adfac6051bd0e6b7ef4a2d /ext/dom/xpath.c | |
| parent | c4c6d5213aad7c6829c5efa22b89310e66d1567b (diff) | |
| download | php-git-7e619b7f5f0e1dbae7204e6c1ae72676d69d5166.tar.gz | |
update constructors so they cant be called statically
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; } |
