From 2c16cf881e385b53a291fe66fe57bd32e555b306 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 20 Jan 2012 17:19:08 -0500 Subject: [PATCH] fixes #288 --- app/models/dmail.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/dmail.rb b/app/models/dmail.rb index d7cd7dcd1..5413a3ced 100644 --- a/app/models/dmail.rb +++ b/app/models/dmail.rb @@ -53,12 +53,12 @@ class Dmail < ActiveRecord::Base copy = Dmail.new(params) copy.owner_id = copy.to_id unless copy.to_id == CurrentUser.id - copy.save! + copy.save end copy = Dmail.new(params) copy.owner_id = CurrentUser.id - copy.save! + copy.save end copy