From 2b8991e3220a44e5c992402fbcb98eb9b7f4ae37 Mon Sep 17 00:00:00 2001 From: Anthony Nemirovsky Date: Thu, 13 Nov 2014 17:05:32 -0800 Subject: [PATCH] Update the hook invoke method to follow the CiviCRM 4.5 conventions for invoke. --- 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 549ecd6651..f900114539 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -311,7 +311,7 @@ abstract class CRM_Utils_Hook { * @return null the return value is ignored */ static function preProcess($formName, &$form) { - return self::singleton()->invoke(2, $formName, $form, $formName, $formName, $formName, self::$_nullObject, 'civicrm_preProcess'); + return self::singleton()->invoke(2, $formName, $form, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_preProcess'); } /** -- 2.25.1