Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add equality checking

  • Loading branch information...
commit 0fa0b5b698e21c2571948c26228a3a97156d1d88 1 parent db86756
Moisés Maciá mmacia authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/NodeInfo.php
4 src/NodeInfo.php
View
@@ -254,7 +254,7 @@ public function getDelta(NodeInfo $n)
$delta = array();
// check changes in node value
- if ($this->value != $n->getValue()) {
+ if ($this->value !== $n->getValue()) {
$delta[] = array(
'action' => 'update',
'xpath' => $this->getXPath(),
@@ -310,4 +310,4 @@ public function getDelta(NodeInfo $n)
return $delta;
}
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.