This commit is contained in:
Richard Fairhurst 2009-05-25 10:19:50 +00:00
parent c6061461d3
commit 33e3d3d576

View file

@ -178,6 +178,7 @@ class AmfController < ApplicationController
cs = Changeset.new cs = Changeset.new
cs.tags = cstags cs.tags = cstags
cs.user_id = user.id 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 # 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.created_at = Time.now.getutc
cs.closed_at = cs.created_at + Changeset::IDLE_TIMEOUT cs.closed_at = cs.created_at + Changeset::IDLE_TIMEOUT