diff options
author | JustAMacUser <[email protected]> | 2021-03-15 16:20:38 -0400 |
---|---|---|
committer | JustAMacUser <[email protected]> | 2021-03-15 16:20:38 -0400 |
commit | 39bbbef030ff38e69031efabb65243d273c614bc (patch) | |
tree | d4d19fd33a6e3444ccc5bc0af39fa06cc0fc5757 /classes | |
parent | 1870fe172b41061899c1917303a494d5e567f1bf (diff) |
Fix E_NOTICE in `add_handler()`.
Diffstat (limited to 'classes')
-rwxr-xr-x | classes/pluginhost.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 17d1e0c5f..6fbc13a9c 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(); } |