mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
optimize module loaded
This commit is contained in:
parent
a91ee19ff8
commit
013ce912f9
|
|
@ -700,7 +700,7 @@ final class ModuleManager
|
|||
public function get(string $module) : ModuleAbstract
|
||||
{
|
||||
$name = $this->generateModuleName($module);
|
||||
if (!isset($this->running[$name])) {
|
||||
if (!array_key_exists($name, $this->running)) {
|
||||
$this->initModule($module);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user