From: Anthony Nemirovsky Date: Fri, 14 Nov 2014 01:05:32 +0000 (-0800) Subject: Update the hook invoke method to follow the CiviCRM 4.5 conventions for X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2b8991e3220a44e5c992402fbcb98eb9b7f4ae37;p=civicrm-core.git Update the hook invoke method to follow the CiviCRM 4.5 conventions for invoke. --- 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'); } /**