X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/957d75295b2c379b17e61a2a22ee28fb5f701589..46d2e4ccfc39b590941548767722b17b5bd71a57:/lib/diff_reader.rb diff --git a/lib/diff_reader.rb b/lib/diff_reader.rb index 459143076..6ffe3806a 100644 --- a/lib/diff_reader.rb +++ b/lib/diff_reader.rb @@ -57,7 +57,7 @@ class DiffReader # care of that for us. if @reader.node_type == 1 # element name = @reader.name - attributes = {} + attributes = {} if @reader.has_attributes? while @reader.move_to_next_attribute == 1