diff options
author | Andrew Dolgov <[email protected]> | 2021-02-08 15:41:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-08 15:41:15 +0300 |
commit | 1d5c8ee50082dd0221055969283b27f2b09b3bb4 (patch) | |
tree | 516f696b5d54b17a50d3063b5dcd5f05952fdaac /classes | |
parent | 1eb1629d9e55519f03b67b6acf3a046d356e73ec (diff) |
prefs: fix user plugins shown by incorrect criteria
Diffstat (limited to 'classes')
-rw-r--r-- | classes/pref/prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 43993007a..c1351d12d 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -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 = ""; |