]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Send a Content-Language header with any localised pages.
[rails.git] / app / controllers / amf_controller.rb
index f903e1ce408508f42b72fb73d2dbd525ca67eb0c..5bc5e2832f400126f047abce8d03f526c5ab6bdc 100644 (file)
@@ -178,6 +178,7 @@ class AmfController < ApplicationController
       cs = Changeset.new
       cs.tags = cstags
       cs.user_id = user.id
+      if !closecomment.empty? then cs.tags['comment']=closecomment end
       # smsm1 doesn't like the next two lines and thinks they need to be abstracted to the model more/better
       cs.created_at = Time.now.getutc
       cs.closed_at = cs.created_at + Changeset::IDLE_TIMEOUT