diff options
| author | 2023-12-26 12:17:52 +0100 | |
|---|---|---|
| committer | 2023-12-26 12:17:52 +0100 | |
| commit | bf1eda8c05c3005ddced182a59c371c26fa0d1b7 (patch) | |
| tree | cf7f7cf1faab393b7e4702c1896e3177e4d4c220 /lib/Minz | |
| parent | ec7fd382e5a42da63c891aa2a059f9762648119d (diff) | |
Fix extensions enableByList (#5979)
fix https://github.com/FreshRSS/FreshRSS/issues/5976
fix https://github.com/YunoHost-Apps/freshrss_ynh/pull/176
Diffstat (limited to 'lib/Minz')
| -rw-r--r-- | lib/Minz/ExtensionManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index 9d8b94cbd..27e09b97a 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -275,7 +275,7 @@ final class Minz_ExtensionManager { return; } foreach ($ext_list as $ext_name => $ext_status) { - if ($ext_status) { + if ($ext_status && is_string($ext_name)) { self::enable($ext_name, $onlyOfType); } } |
