diff --git a/action.php b/action.php index fae4dc2..da91e71 100644 --- a/action.php +++ b/action.php @@ -35,6 +35,11 @@ class action_plugin_tagalerts extends DokuWiki_Action_Plugin{ if(is_null($tags)) true; foreach($event->data['meta'] as &$meta) { + + // FIXME: Skip entries where the "name" key is not set, + // this might be a symptom of some bug. + if ( ! array_key_exists('name', $meta) ) continue; + if($meta['name'] == 'keywords') { // Get an array of page's tags $this->pagetags = explode(',', $meta['content']);