fix #1849
authorRichard Fairhurst <richard@systemed.net>
Mon, 25 May 2009 10:19:50 +0000 (10:19 +0000)
committerRichard Fairhurst <richard@systemed.net>
Mon, 25 May 2009 10:19:50 +0000 (10:19 +0000)
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