Skip to content

Commit

Permalink
Possible fix for issue #14.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenguest committed Mar 7, 2017
1 parent c42993c commit 1d6eeac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/OpenStreetMap/Object.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function getOsmChangeXml()
$set[$key] = $val;
}

$diff = array_diff($this->getTags(), $set);
$diff = array_diff_assoc($this->getTags(), $set);

// Remove existing tags
for ($i = 0; $i < $tags->length; $i++) {
Expand Down

0 comments on commit 1d6eeac

Please sign in to comment.