From 34a7be85172fcd9ab4518efafe72f8dfe363d548 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 30 Dec 2015 00:20:30 +0800 Subject: [PATCH] small fix for category --- app/views/plugin/personal_course/_profile.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/plugin/personal_course/_profile.html.erb b/app/views/plugin/personal_course/_profile.html.erb index 66cbe87..6bfe6f7 100644 --- a/app/views/plugin/personal_course/_profile.html.erb +++ b/app/views/plugin/personal_course/_profile.html.erb @@ -53,7 +53,7 @@ - <%= course.course_category.title %> + <%= course.course_category.title rescue "" %> <% end %>