diff --git a/app/views/pages/_page.rhtml b/app/views/pages/_page.rhtml
index b038733..0452a8f 100644
--- a/app/views/pages/_page.rhtml
+++ b/app/views/pages/_page.rhtml
@@ -15,7 +15,7 @@
Version: <%= @page.version -%>
<% @page.owner.page_attributes.each do |x| -%>
<%= x -%>
- <% end if @page.owner and @page.owner.respond_to?("page_attributes") %>
+ <% end if !@page.owner_id.nil? and !@page.owner_type.nil? and @page.owner.respond_to?("page_attributes") %>
<% if @page.created_by != @page.updated_by -%>Last updated by: <%= @page.updated_by.title rescue 'That other other guy' -%><% end %>
<% end -%>