* @throws \Civi\API\Exception\UnauthorizedException
*/
public function getChecksConfig() {
- if (empty(Civi::$statics[__FUNCTION__])) {
+ if (!isset(Civi::$statics[__FUNCTION__])) {
Civi::$statics[__FUNCTION__] = (array) StatusPreference::get(FALSE)
->addWhere('domain_id', '=', 'current_domain')
->execute()->indexBy('name');