Commit 4a159db7 authored by gbyte.co's avatar gbyte.co

Issue #2913507 by RajabNatshah, Saphyel: Undefined index: include_images

parent 4febc892
......@@ -63,7 +63,7 @@ class EntityUrlGenerator extends UrlGeneratorBase implements UrlGeneratorInterfa
? date_iso8601($entity->getChangedTime()) : NULL,
'priority' => isset($entity_settings['priority']) ? $entity_settings['priority'] : NULL,
'changefreq' => !empty($entity_settings['changefreq']) ? $entity_settings['changefreq'] : NULL,
'images' => $entity_settings['include_images']
'images' => !empty($entity_settings['include_images'])
? $this->getImages($entity_info['entity_type_name'], $entity_id)
: []
];
......
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