Commit d5b4b6f8 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Don't try to render the body if it doesn't exist

parent 0f8983ed
......@@ -105,7 +105,9 @@
print render($content['field_event_date']);
print render($content['title_field']);
if (!empty($content['body']['#items'][0])) {
$content['body'][0]['#markup'] = uw_ct_web_page_filter_summary($content['body']['#items'][0]);
print render($content);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment