summaryrefslogtreecommitdiffstats
path: root/Services
diff options
context:
space:
mode:
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();