[pLog-svn] r1646 - plog/trunk/class/plugin
ork at devel.plogworld.net
ork at devel.plogworld.net
Wed Mar 30 17:14:44 GMT 2005
Author: ork
Date: 2005-03-30 17:14:44 +0000 (Wed, 30 Mar 2005)
New Revision: 1646
Modified:
plog/trunk/class/plugin/pluginmanager.class.php
Log:
added isset() call
Modified: plog/trunk/class/plugin/pluginmanager.class.php
===================================================================
--- plog/trunk/class/plugin/pluginmanager.class.php 2005-03-30 17:09:04 UTC (rev 1645)
+++ plog/trunk/class/plugin/pluginmanager.class.php 2005-03-30 17:14:44 UTC (rev 1646)
@@ -295,7 +295,7 @@
{
// there can be more than one plugin registered for the same event,
// so we need an array of plugin classes
- if( !is_array($this->_pluginEventList["$eventType"])) {
+ if( !isset($this->_pluginEventList["$eventType"]) || !is_array($this->_pluginEventList["$eventType"])) {
$this->_pluginEventList["$eventType"] = Array();
}
More information about the pLog-svn
mailing list