From 9d3a367a1952215392f7933d1415266293785e33 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Mon, 24 May 2021 14:14:59 -0400 Subject: [PATCH] fix arguments sent to hook_civicrm_check --- CRM/Utils/Hook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 2c0d195862..fc03c0f901 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -2546,7 +2546,7 @@ abstract class CRM_Utils_Hook { * @return mixed */ public static function check(&$messages, $statusNames = [], $includeDisabled = FALSE) { - return self::singleton()->invoke(['messages'], + return self::singleton()->invoke(['messages', 'statusNames', 'includeDisabled'], $messages, $statusNames, $includeDisabled, self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_check' -- 2.25.1