X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8920a56133d24d328b774ef166a07949746e008a..5c9f1310b016d94becc2b0e02d080ec65eef5879:/app/models/relation.rb diff --git a/app/models/relation.rb b/app/models/relation.rb index ed37d159a..e5e4ec894 100644 --- a/app/models/relation.rb +++ b/app/models/relation.rb @@ -370,7 +370,7 @@ class Relation < ActiveRecord::Base # materially change the rest of the relation. any_relations = changed_members.collect { |_id, type| type == "relation" } - .inject(false) { |a, e| a || e } + .inject(false) { |acc, elem| acc || elem } update_members = if tags_changed || any_relations # add all non-relation bounding boxes to the changeset