diff --git a/plugin.info.txt b/plugin.info.txt index 73697e6..d47301f 100755 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base credits author Myron Turner email turnermm02@shaw.ca -date 2014-05-28 +date 2015-09-30 name Credits Plugin desc Configurable Display of Plugin Credits url http://www.dokuwiki.org/plugin:credits diff --git a/syntax.php b/syntax.php index 0efed62..0032236 100755 --- a/syntax.php +++ b/syntax.php @@ -175,7 +175,8 @@ function store_plugins($type=""){ if(!$type) return; $plugins = plugin_list($type); foreach($plugins as $p){ - if (!$po =& plugin_load($type,$p)) continue; + if (!$po = plugin_load($type,$p)) continue; + if(!method_exists($po,'getInfo')) continue; $info = $po->getInfo(); $this->plugins[$info['name']] = $info; unset($po);