summaryrefslogtreecommitdiffstats
path: root/Services
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-09-21 18:28:07 +0000
committertailor <cygnus@janrain.com>2006-09-21 18:28:07 +0000
commit60471ae2b4e4747b71e1e257ebc4d7c1ab50a0f0 (patch)
treebc8c58cf6947c8fa6cf68d8706611344484f6d25 /Services
parent5a6544e5637405c7aba7b12ce4e76adb3ef222b2 (diff)
downloadphp-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.php4
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();