Commit 1194a1c5 authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Fixed call to xmlsitemap_can_admin_bundle().

parent 2f5ddbf6
...@@ -493,7 +493,7 @@ function xmlsitemap_add_form_link_options(&$form, $link) { ...@@ -493,7 +493,7 @@ function xmlsitemap_add_form_link_options(&$form, $link) {
} }
$bundle_info = $info['bundles'][$link['subtype']]; $bundle_info = $info['bundles'][$link['subtype']];
if (xmlsitemap_can_admin_bundle($link['type'], $link['subtype']) && $path = xmlsitemap_get_bundle_path($entity, $bundle)) { if (xmlsitemap_can_admin_bundle($link['type'], $link['subtype']) && $path = xmlsitemap_get_bundle_path($link['type'], $link['subtype'])) {
$form['xmlsitemap']['description'] = array( $form['xmlsitemap']['description'] = array(
'#prefix' => '<div class="description">', '#prefix' => '<div class="description">',
'#suffix' => '</div>', '#suffix' => '</div>',
......
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