prefs: fix user plugins shown by incorrect criteria
This commit is contained in:
parent
1eb1629d9e
commit
1d5c8ee500
|
@ -947,7 +947,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||||
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
|
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
|
||||||
$about = $plugin->about();
|
$about = $plugin->about();
|
||||||
|
|
||||||
if ($about[3] ?? true) {
|
if (empty($about[3]) || $about[3] == false) {
|
||||||
|
|
||||||
$checked = "";
|
$checked = "";
|
||||||
$disabled = "";
|
$disabled = "";
|
||||||
|
|
Loading…
Reference in New Issue