]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Improve favicons
[rails.git] / app / controllers / changeset_controller.rb
index e0d75985d423ddedae3351246dc006dd3c04a911..8a72d941d03752f3c826c4abd4f52ba2c233ae90 100644 (file)
@@ -95,8 +95,10 @@ class ChangesetController < ApplicationController
     lat << cs.max_lat unless cs.max_lat.nil?
 
     # collapse the arrays to minimum and maximum
-    cs.min_lon, cs.min_lat, cs.max_lon, cs.max_lat =
-      lon.min, lat.min, lon.max, lat.max
+    cs.min_lon = lon.min
+    cs.min_lat = lat.min
+    cs.max_lon = lon.max
+    cs.max_lat = lat.max
 
     # save the larger bounding box and return the changeset, which
     # will include the bigger bounding box.