Commit 5d013306 authored by artematem's avatar artematem Committed by RenatoG

Issue #2885506 by artematem, RenatoG: Notice: Undefined index: bundle label in...

Issue #2885506 by artematem, RenatoG: Notice: Undefined index: bundle label in xmlsitemap_add_form_link_options()
parent f4e9b9af
......@@ -54,6 +54,9 @@ function xmlsitemap_menu_entity_info_alter(&$info) {
'process callback' => 'xmlsitemap_menu_xmlsitemap_process_menu_links',
),
);
if (!isset($info['menu_link']['bundle label'])) {
$info['menu_link']['bundle label'] = t('Menu');
}
}
}
......
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