1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

prefs: fix user plugins shown by incorrect criteria

This commit is contained in:
Andrew Dolgov
2021-02-08 15:41:15 +03:00
parent 1eb1629d9e
commit 1d5c8ee500

View File

@@ -947,7 +947,7 @@ class Pref_Prefs extends Handler_Protected {
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
$about = $plugin->about();
if ($about[3] ?? true) {
if (empty($about[3]) || $about[3] == false) {
$checked = "";
$disabled = "";