From: Richard Fairhurst Date: Mon, 25 May 2009 10:19:50 +0000 (+0000) Subject: fix #1849 X-Git-Tag: live~7967 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/33e3d3d5765ea1f84e1c46cd338c7bab1a1b2ed8 fix #1849 --- diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index f903e1ce4..5bc5e2832 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -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