fix arguments sent to hook_civicrm_check
authorJon Goldberg <jon@megaphonetech.com>
Mon, 24 May 2021 18:14:59 +0000 (14:14 -0400)
committerJon Goldberg <jon@megaphonetech.com>
Mon, 24 May 2021 18:14:59 +0000 (14:14 -0400)
CRM/Utils/Hook.php

index 2c0d1958626fe36ea2832017361b5b3ba72fee3e..fc03c0f9011be5cb2f1cb93004271e87a61993f9 100644 (file)
@@ -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'