Closed (duplicate)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
xmlsitemap.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2010 at 18:08 UTC
Updated:
18 Dec 2010 at 18:12 UTC
Trivial patch to avoid an "Undefined index" notice.
--- xmlsitemap.module
+++ xmlsitemap.module
@@ -1312,6 +1312,9 @@ function xmlsitemap_link_bundle_settings_form_submit($form, &$form_state) {
}
}
+ if (empty($form_state['values']['xmlsitemap'])) {
+ return;
+ }
xmlsitemap_link_bundle_settings_save($entity, $bundle, $form_state['values']['xmlsitemap']);
$entity_info = $form['xmlsitemap']['#entity_info'];
| Comment | File | Size | Author |
|---|---|---|---|
| xmlsitemap.patch | 457 bytes | pillarsdotnet |
Comments
Comment #1
pillarsdotnet commentedSorry; duplicate of #968752: Recoverable fatal error