Fix E_NOTICE in add_handler().

This commit is contained in:
JustAMacUser
2021-03-15 16:20:38 -04:00
parent 1870fe172b
commit 39bbbef030

View File

@@ -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();
}