mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-15 13:01:00 +02:00
pluginhost: always return an array in get_all()
This commit is contained in:
parent
bed2d6e054
commit
6fb5f17be6
@ -360,7 +360,9 @@ class PluginHost {
|
||||
function get_all($sender) {
|
||||
$idx = get_class($sender);
|
||||
|
||||
return $this->storage[$idx];
|
||||
$data = $this->storage[$idx];
|
||||
|
||||
return $data ? $data : [];
|
||||
}
|
||||
|
||||
function clear_data($sender) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user