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
This commit is contained in:
commit
c134aa387d
|
@ -352,7 +352,7 @@ class PluginHost {
|
||||||
$method = strtolower($method);
|
$method = strtolower($method);
|
||||||
|
|
||||||
if ($this->is_system($sender)) {
|
if ($this->is_system($sender)) {
|
||||||
if (!is_array($this->handlers[$handler])) {
|
if (!isset($this->handlers[$handler])) {
|
||||||
$this->handlers[$handler] = array();
|
$this->handlers[$handler] = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue