diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index 17d1e0c5f2ccb530143a0ffea52bf498631c8f14..6fbc13a9cfe2b01f31145137e34fd361465f491b 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -352,7 +352,7 @@ class PluginHost {
 		$method = strtolower($method);
 
 		if ($this->is_system($sender)) {
-			if (!is_array($this->handlers[$handler])) {
+			if (!isset($this->handlers[$handler])) {
 				$this->handlers[$handler] = array();
 			}