Skip to content
Snippets Groups Projects
Commit c7127118 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5195: fixing get event data

parent cfcc5ae7
No related branches found
No related tags found
1 merge request!172Feature/istwcms 5128 ebremner theme node services
...@@ -274,11 +274,11 @@ class UwNodeContent { ...@@ -274,11 +274,11 @@ class UwNodeContent {
} }
if ($node_flags['get_hero']) { if ($node_flags['get_hero']) {
$content_data['hero_image'] = $this->addToContentData('sources', 'field_uw_event_listing_page_img'); $content_data['hero_image'] = $this->addToContentData('sources', 'field_uw_hero_image');
} }
if ($node_flags['get_listing_image']) { if ($node_flags['get_listing_image']) {
$content_data['listing_image'] = $this->addToContentData('sources', 'field_uw_hero_image'); $content_data['listing_image'] = $this->addToContentData('sources', 'field_uw_event_listing_page_img');
} }
// Setup the actual content. // Setup the actual content.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment