From 76b635a6b9f0d380fe3a5ed47b14eb6e46b11898 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 2 Oct 2014 19:28:25 +0800 Subject: [PATCH] a small fix --- app/views/admin/diplomas/_diploma.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/diplomas/_diploma.html.erb b/app/views/admin/diplomas/_diploma.html.erb index b63046b..d130797 100644 --- a/app/views/admin/diplomas/_diploma.html.erb +++ b/app/views/admin/diplomas/_diploma.html.erb @@ -1,6 +1,6 @@ <% @diplomas.each do |diploma| %> "> - <%= diploma.member_profile.name %> + <%= diploma.member_profile.name rescue "" %> <%= diploma.duration %> <%= link_to diploma.school_name, OrbitHelper.url_to_plugin_show(diploma.to_param,'personal_diploma'), target: "blank"%>