]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
Don't fill in from_display_name for messages - it can be got by
[rails.git] / app / models / way.rb
index c6316d330809992df17afad252f77922445ab4b3..9d2239d5ca642f616a65b93a6042ec38555f57fa 100644 (file)
@@ -165,7 +165,7 @@ class Way < ActiveRecord::Base
 
         WaySegment.delete_all(['id = ?', self.id])
 
-        i = 0
+        i = 1
         segs.each do |n|
           seg = WaySegment.new
           seg.id = self.id