Update the hook invoke method to follow the CiviCRM 4.5 conventions for
authorAnthony Nemirovsky <anemirovsky@giantrabbit.com>
Fri, 14 Nov 2014 01:05:32 +0000 (17:05 -0800)
committerAnthony Nemirovsky <anemirovsky@giantrabbit.com>
Fri, 14 Nov 2014 01:05:32 +0000 (17:05 -0800)
invoke.

CRM/Utils/Hook.php

index 549ecd66516c07b8bcefb0c57f24d3819579469d..f9001145391eeca14ebd07a2e09461de6569e5a6 100644 (file)
@@ -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');
   }
 
   /**