[pLog-svn] r2365 - plog/branches/plog-1.0.2/class/plugin
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Wed Jul 27 16:43:58 GMT 2005
Author: oscar
Date: 2005-07-27 16:43:57 +0000 (Wed, 27 Jul 2005)
New Revision: 2365
Modified:
plog/branches/plog-1.0.2/class/plugin/pluginmanager.class.php
Log:
removed a 'notice' message as per the post here: http://forums.plogworld.net/viewtopic.php?t=2998
Modified: plog/branches/plog-1.0.2/class/plugin/pluginmanager.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/plugin/pluginmanager.class.php 2005-07-26 21:04:36 UTC (rev 2364)
+++ plog/branches/plog-1.0.2/class/plugin/pluginmanager.class.php 2005-07-27 16:43:57 UTC (rev 2365)
@@ -281,7 +281,7 @@
function notifyEvent( $eventType, $params = Array())
{
// check if there is any plugin that wants to be notified about this event
- $plugins = $this->_pluginEventList["$eventType"];
+ $plugins = array_key_exists( $eventType, $this->_pluginEventList ) ? $this->_pluginEventList["$eventType"] : Array();
if( !is_array($plugins) || empty($plugins))
return $params;
More information about the pLog-svn
mailing list