From fa8f2d4fff38cd7c65d2f90e300b04d68c0f1f2b Mon Sep 17 00:00:00 2001 From: Anthony Nemirovsky Date: Thu, 13 Nov 2014 13:15:18 -0800 Subject: [PATCH] Porting over of this patch from another Civi instance failed miserably. This commit includes the full preProcess hook definition and fixes the syntax error. --- 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 63239d4f9d..549ecd6651 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, + return self::singleton()->invoke(2, $formName, $form, $formName, $formName, $formName, self::$_nullObject, 'civicrm_preProcess'); } /** -- 2.25.1