From 2a7de9fbd6232d55a261ae4b7b6af199e335ff14 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Thu, 24 Mar 2016 15:32:44 +0200 Subject: [PATCH] Story#114871365 - fix imported old fred history --- lib/tasks/convert.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/convert.rake b/lib/tasks/convert.rake index c3976f2a0..7b5adb9a5 100644 --- a/lib/tasks/convert.rake +++ b/lib/tasks/convert.rake @@ -55,7 +55,7 @@ namespace :convert do if if_object h = c.object - h["country_code"] = h["country_code"].upcase + h["country_code"] = h["country_code"].try(:upcase) c.object = h end