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