From 17c580df8ce38263cf6554f987535abc4dc693df Mon Sep 17 00:00:00 2001 From: Jerenus Date: Tue, 16 Apr 2013 11:16:55 +0800 Subject: [PATCH] Issue #1928812 by Jerenus: Notice: Undefined index: node in gmap_taxonomy_get_instances() (line 269 gmap_taxonomy.module. --- gmap_taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmap_taxonomy.module b/gmap_taxonomy.module index ee85dc4..c7d5571 100644 --- a/gmap_taxonomy.module +++ b/gmap_taxonomy.module @@ -265,7 +265,7 @@ function gmap_taxonomy_get_instances() { $fields = field_info_fields(); // loop through to get the ones of field type taxonomy_term_reference foreach ($fields as $field) { - if ($field['type'] == 'taxonomy_term_reference') { + if ($field['type'] == 'taxonomy_term_reference' && isset($field['bundles']['node'])) { foreach ($field['bundles']['node'] as $node_type) { $gmap_taxonomy_fields[$node_type][] = $field['field_name']; } -- 1.7.10.4