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
1 changed files with 1 additions and 1 deletions

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 = "";