From 82756a3b02a747b6ec2317cae7440494929e7611 Mon Sep 17 00:00:00 2001 From: Joe Murray Date: Tue, 14 May 2013 17:09:47 -0400 Subject: [PATCH] fixing args passed to hook pre ---------------------------------------- * CRM-12603: grant pre hook invoked with wrong arg http://issues.civicrm.org/jira/browse/CRM-12603 --- CRM/Grant/Form/Grant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Grant/Form/Grant.php b/CRM/Grant/Form/Grant.php index fc217609b9..62f591ee0a 100644 --- a/CRM/Grant/Form/Grant.php +++ b/CRM/Grant/Form/Grant.php @@ -300,7 +300,7 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form { } if ($this->_action & CRM_Core_Action::UPDATE) { - $ids['grant'] = $this->_id; + $ids['grant_id'] = $this->_id; } // get the submitted form values. -- 2.25.1