diff --git a/modules/webpush_topics/webpush_topics.module b/modules/webpush_topics/webpush_topics.module index 9984deb..147bffd 100644 --- a/modules/webpush_topics/webpush_topics.module +++ b/modules/webpush_topics/webpush_topics.module @@ -77,7 +77,7 @@ function _webpush_topics_get_topics($include_all = TRUE) { $vocabulary = taxonomy_vocabulary_machine_name_load('webpush_topics'); // Load terms in the sequence set up in the taxonomy. $terms = taxonomy_get_tree($vocabulary->vid); - foreach ($terms as $tid => $term) { + foreach ($terms as $key => $term) { $topics[$term->tid] = $term->name; } return $topics;