Permalink
Browse files

Fix typo

  • Loading branch information...
1 parent 010bb0d commit 90168b0e8adfe672a8a60f728ca324b4f4414860 @GromNaN committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Welldom/Document.php
View
@@ -447,7 +447,7 @@ public function getNodeValue($expression, $default = false)
*/
public function setNodeValue($expression, $value = null)
{
- if (false === $node = $this->getXpath($expression)->queryOne()) {
+ if (false === $node = $this->getXpath()->queryOne($expression)) {
return false;
}

0 comments on commit 90168b0

Please sign in to comment.