app/models/page_context.rb in radiant-0.5.0 vs app/models/page_context.rb in radiant-0.5.1
- old
+ new
@@ -206,10 +206,10 @@
end
end
contextual = boolean_attr['contextual', true]
if inherit and contextual
part = part_page.part(part_name)
- page.behavior.render_snippet(part)
+ page.behavior.render_snippet(part) unless part.nil?
else
part_page.behavior.render_page_part(part_name)
end
end