From 6abc80afc816e7bebeec631e2e7f4107a72b9ff5 Mon Sep 17 00:00:00 2001 From: Vladislav Osmianskij Date: Fri, 3 Sep 2021 15:26:13 +0300 Subject: [PATCH] fix: `Osm_Project` doesn't include modules that explicitly belong to another application --- runtime/Compilation/CompiledApp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Compilation/CompiledApp.php b/runtime/Compilation/CompiledApp.php index 08d749a..184bceb 100644 --- a/runtime/Compilation/CompiledApp.php +++ b/runtime/Compilation/CompiledApp.php @@ -196,7 +196,7 @@ protected function loadModule(array &$modules, Package $package, return; } - if (!$this->matches($className)) { + if (!$this->load_all && !$this->matches($className)) { return; }