left a bit in previous commit that shouldn't have been there.
authorDan Karran <dan@karran.net>
Mon, 11 Jun 2007 21:23:03 +0000 (21:23 +0000)
committerDan Karran <dan@karran.net>
Mon, 11 Jun 2007 21:23:03 +0000 (21:23 +0000)
lib/osm.rb

index 57714c68ebdebd7db30e6e3cd5db649ec384a387..7f1f4d101b5072e40502573b79a8a68dbc0f8f6b 100644 (file)
@@ -301,7 +301,7 @@ module OSM
       if latitude
         lat_el = XML::Node.new 'geo:lat'
         lat_el << latitude.to_s
-        item << lat_el if lat_el
+        item << lat_el
       end
 
       if longitude