Hide beta modules on disabled filter (#5777)

This commit is contained in:
Yuriy Bakhtin 2022-06-28 11:31:59 +03:00 committed by GitHub
parent 555c581b3b
commit fe5c3b5719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,10 @@
HumHub Changelog
================
1.11.4 (Unreleased)
----------------------
- Fix #5776: Hide beta modules on disabled filter
1.11.3 (June 27, 2022)
----------------------
- Fix: #5736: Fix status message on user approval

View File

@ -300,6 +300,7 @@ class OnlineModuleManager extends Component
foreach ($modules as $o => $module) {
$onlineModule = new ModelModule($module);
if ($onlineModule->isInstalled() ||
!$onlineModule->latestCompatibleVersion ||
($onlineModule->isDeprecated && $marketplaceModule->hideLegacyModules)) {
unset($modules[$o]);
continue;