Open JackBuchanan opened 2 weeks ago
Add empty check to avoid 500 error when deploying module from module loader
Add empty check after loading user preferences to avoid 500 when running php8+
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument https://github.com/salesagility/SuiteCRM/issues/2 ($array) must be of type array, null given
Fixes potential 500 error when deploying module from module loader if user has no global search preference set
Add empty check to avoid 500 error when deploying module from module loader
Description
Add empty check after loading user preferences to avoid 500 when running php8+
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument https://github.com/salesagility/SuiteCRM/issues/2 ($array) must be of type array, null given
Motivation and Context
Fixes potential 500 error when deploying module from module loader if user has no global search preference set
How To Test This
Types of changes
Final checklist