mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
[Legacy] Add fallbacks for undefined values
This commit is contained in:
parent
6358c208b8
commit
10b33547e0
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class ModuleNameMapper
|
|||
{
|
||||
global $moduleList;
|
||||
|
||||
return $moduleList;
|
||||
return $moduleList ?? [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue