diff options
author | tailor <cygnus@janrain.com> | 2006-09-21 18:28:07 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-09-21 18:28:07 +0000 |
commit | 60471ae2b4e4747b71e1e257ebc4d7c1ab50a0f0 (patch) | |
tree | bc8c58cf6947c8fa6cf68d8706611344484f6d25 /Services | |
parent | 5a6544e5637405c7aba7b12ce4e76adb3ef222b2 (diff) | |
download | php-openid-60471ae2b4e4747b71e1e257ebc4d7c1ab50a0f0.zip php-openid-60471ae2b4e4747b71e1e257ebc4d7c1ab50a0f0.tar.gz php-openid-60471ae2b4e4747b71e1e257ebc4d7c1ab50a0f0.tar.bz2 |
[project @ FIX: Use XPath query() instead of evaluate()]
Diffstat (limited to 'Services')
-rw-r--r-- | Services/Yadis/XML.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/Yadis/XML.php b/Services/Yadis/XML.php index 1f1b18b..59ec0df 100644 --- a/Services/Yadis/XML.php +++ b/Services/Yadis/XML.php @@ -250,9 +250,9 @@ class Services_Yadis_dom extends Services_Yadis_XMLParser { function &evalXPath($xpath, $node = null) { if ($node) { - $result = @$this->xpath->evaluate($xpath, $node); + $result = @$this->xpath->query($xpath, $node); } else { - $result = @$this->xpath->evaluate($xpath); + $result = @$this->xpath->query($xpath); } $n = array(); |