Fix E_NOTICE in `add_handler()`.

master
JustAMacUser 3 years ago
parent 1870fe172b
commit 39bbbef030

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

Loading…
Cancel
Save