Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Mar 15, 2013
1 parent 010bb0d commit 90168b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Welldom/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 90168b0

Please sign in to comment.