From 3501c86cc8cb06786a75a5a1b5b14409c5b4a868 Mon Sep 17 00:00:00 2001 From: "Hanwen (Steinway) Wu" Date: Fri, 24 Jun 2016 13:59:01 -0400 Subject: [PATCH] Fix frozen email string problem in mbox.rb --- script/import_scripts/mbox.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_scripts/mbox.rb b/script/import_scripts/mbox.rb index 98be215adad..8d614510882 100755 --- a/script/import_scripts/mbox.rb +++ b/script/import_scripts/mbox.rb @@ -124,7 +124,7 @@ class ImportScripts::Mbox < ImportScripts::Base if mail.from.present? from_email = mail.from.dup if from_email.kind_of?(Array) - from_email = from_email.first + from_email = from_email.first.dup end from_email.gsub!(/ at /, '@')