mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-17 19:47:22 +02:00
_get_available_plugins: decode as array
This commit is contained in:
parent
c50a4296a5
commit
6cf771f2bc
@ -1355,7 +1355,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
|
||||
private function _get_available_plugins(array $installed = []) {
|
||||
if ($_SESSION["access_level"] >= 10 && Config::get(Config::ENABLE_PLUGIN_INSTALLER)) {
|
||||
$obj = json_decode(UrlHelper::fetch(['url' => 'https://tt-rss.org/plugins.json']));
|
||||
$obj = json_decode(UrlHelper::fetch(['url' => 'https://tt-rss.org/plugins.json']), true);
|
||||
|
||||
// TODO: filter installed, we'll need class names in the plugins.json
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user