diff --git a/app/views/plans/_plan_details.html.erb b/app/views/plans/_plan_details.html.erb
index 58c1998..dc4bdb2 100644
--- a/app/views/plans/_plan_details.html.erb
+++ b/app/views/plans/_plan_details.html.erb
@@ -205,7 +205,7 @@
<%end%>
<%if plan.template.customization_of.present? %>
- <% ctemplate = Template.find(plan.template.customization_of)
+ <% ctemplate = Template.find(plan.template.customization_of) %>
<%= " (Customised from " + ctemplate.org.name + ")" %>
<%end%>