From d808f23dd92c179046ff571826145881be5a8817 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 15 Oct 2014 20:37:00 +0800 Subject: [PATCH] fixed username empty for imported announcements --- app/views/admin/announcements/_index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/announcements/_index.html.erb b/app/views/admin/announcements/_index.html.erb index 57af791..b321dd3 100644 --- a/app/views/admin/announcements/_index.html.erb +++ b/app/views/admin/announcements/_index.html.erb @@ -40,7 +40,7 @@ <%= format_value b.postdate %> "><%= format_value b.deadline %> - <%= b.update_user.user_name %> + <%= b.update_user.user_name rescue "" %>