[dokuwiki] base.php

  • From: "Gerry Weißbach" <gerry.w@xxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: 17 Aug 2006 11:24:52 -0000

Hi there, hi Chris,

I think I found a bug in the /lib/plugins/base.php

there is

 function getPluginName() { list($t, $p, $n) = explode('_',
get_class($this), 4); return $n; }

but the class name consists of only three parts, thats why it should be

 function getPluginName() { list($t, $p, $n) = explode('_',
get_class($this), 3); return $n; }


otherwise plugins with an underscore in their name will not be working
correctly. Can anyone please confirm that bug?


Gerry
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: