X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCheck%2FComponent.php;h=2f57004adeac08cab6f600a86befab37e61c55f3;hb=f6c3885f7a19240b6c8c2ec0ba1cc5447790049d;hp=5b5dcc746258972805f8271062c29767e88aa369;hpb=02b46eba2b69e13a0d948f0d18de96e4057976f1;p=civicrm-core.git diff --git a/CRM/Utils/Check/Component.php b/CRM/Utils/Check/Component.php index 5b5dcc7462..2f57004ade 100644 --- a/CRM/Utils/Check/Component.php +++ b/CRM/Utils/Check/Component.php @@ -27,7 +27,7 @@ abstract class CRM_Utils_Check_Component { * @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');