Skip to content
Snippets Groups Projects
Commit 5bf99dd1 authored by JoeMurray's avatar JoeMurray
Browse files

fix arg passed to hook

----------------------------------------
* CRM-12603: grant pre hook invoked with wrong arg
  http://issues.civicrm.org/jira/browse/CRM-12603
parent 93134060
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
}
}
$grant = new CRM_Grant_DAO_Grant();
$grant->id = CRM_Utils_Array::value('grant', $ids);
$grant->id = CRM_Utils_Array::value('grant_id', $ids);
$grant->copyValues($params);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment