Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Taluu committed Nov 25, 2013
2 parents ddcb183 + 7b79a7b commit ae6dc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Totem/Set.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private function compute(AbstractSnapshot $old, AbstractSnapshot $new)
$this->changes = [];

foreach ($old->getDataKeys() as $key) {
if (!isset($new[$key])) {
if (!in_array($key, $new->getDataKeys())) {
$this->changes[$key] = new Removal($old[$key] instanceof AbstractSnapshot ? $old[$key]->getRawData() : $old[$key]);
continue;
}
Expand Down

0 comments on commit ae6dc23

Please sign in to comment.