Skip to content

Commit

Permalink
Fixed error w/ deleted site feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed May 17, 2010
1 parent f8b0ca3 commit 979affa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/site_node_engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def set_page_connection_hash(rnd,paragraph)


def editor_add_rendered_css!(rnd,paragraph)
if paragraph.site_feature_id
if paragraph.site_feature_id && paragraph.site_feature
rnd.output.render_args[:css] = paragraph.site_feature.rendered_css unless paragraph.site_feature.rendered_css.blank?
end

Expand Down

0 comments on commit 979affa

Please sign in to comment.