Changeset 895 for trunk/Packages/Common/Application.php
- Timestamp:
- Jan 12, 2021, 10:29:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Application.php
r887 r895 65 65 function GetModule(string $Name): AppModule 66 66 { 67 return $this->ModuleManager->Modules[$Name]; 67 if (array_key_exists($Name, $this->ModuleManager->Modules)) 68 return $this->ModuleManager->Modules[$Name]; 69 else return null; 68 70 } 69 71
Note:
See TracChangeset
for help on using the changeset viewer.