diff options
author | fox <[email protected]> | 2021-03-16 07:15:40 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-03-16 07:15:40 +0300 |
commit | c134aa387dbc4e7d7c175c7a42e0d5939e0cf065 (patch) | |
tree | 3108639eccc7d45f7b4dbeada3e4123b2b52f17e /classes | |
parent | f81a57938668f25b3118a36e7865dfcdc34439c7 (diff) | |
parent | 39bbbef030ff38e69031efabb65243d273c614bc (diff) |
Merge pull request 'Fix E_NOTICE in add_handler().' (#20) from JustAMacUser/tt-rss:fix-addhandler-notice into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/20
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(); } |