From 0a55768bbf9c10c1614fdeec5b47b64c89a1985f Mon Sep 17 00:00:00 2001 From: Nileema Date: Thu, 5 Jun 2014 20:26:20 +0530 Subject: [PATCH] --Fix fatal error for case assigee change from case dashboard --- CRM/Utils/Hook.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index e16be4805b..43420ad9be 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -1622,7 +1622,7 @@ abstract class CRM_Utils_Hook { * @return void */ static function pre_case_merge($mainContactId, $mainCaseId = NULL, $otherContactId = NULL, $otherCaseId = NULL, $changeClient = FALSE) { - return self::singleton()->invoke(5, $mainContactId, $mainCaseId, $otherContactId, $otherCaseId, $changeClient, 'civicrm_pre_case_merge'); + return self::singleton()->invoke(5, $mainContactId, $mainCaseId, $otherContactId, $otherCaseId, $changeClient, self::$_nullObject, 'civicrm_pre_case_merge'); } /** @@ -1637,7 +1637,7 @@ abstract class CRM_Utils_Hook { * @return void */ static function post_case_merge($mainContactId, $mainCaseId = NULL, $otherContactId = NULL, $otherCaseId = NULL, $changeClient = FALSE) { - return self::singleton()->invoke(5, $mainContactId, $mainCaseId, $otherContactId, $otherCaseId, $changeClient, 'civicrm_post_case_merge'); + return self::singleton()->invoke(5, $mainContactId, $mainCaseId, $otherContactId, $otherCaseId, $changeClient, self::$_nullObject, 'civicrm_post_case_merge'); } /** -- 2.25.1