Commit 1219c486 authored by Dave Reid's avatar Dave Reid Committed by Dave Reid

Issue #1968744 by Dave Reid: Fixed xmlsitemap.xmlsitemap.inc not always...

Issue #1968744 by Dave Reid: Fixed xmlsitemap.xmlsitemap.inc not always included due to incorrect use of module_load_all_includes().
parent 368385ee
...@@ -371,7 +371,7 @@ function xmlsitemap_settings_form($form, &$form_state) { ...@@ -371,7 +371,7 @@ function xmlsitemap_settings_form($form, &$form_state) {
); );
$entities = xmlsitemap_get_link_info(NULL, TRUE); $entities = xmlsitemap_get_link_info(NULL, TRUE);
module_load_all_includes('inc', 'xmlsitemap'); module_load_all_includes('xmlsitemap.inc');
foreach ($entities as $entity => $entity_info) { foreach ($entities as $entity => $entity_info) {
$form[$entity] = array( $form[$entity] = array(
'#type' => 'fieldset', '#type' => 'fieldset',
......
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