Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6
-
Fix Version/s: 4.6.3
-
Component/s: None
-
Labels:None
-
Documentation Required?:Developer Doc
Description
The post hook signature handles the created object but the line item api passes the params array ie
CRM_Utils_Hook::post('create', 'LineItem', $params['entity_id'], $params);
should be
CRM_Utils_Hook::post('create', 'LineItem', $params['entity_id'], $lineItemBAO)
Note that the entity_id is ALSO not correct - it should be line_item id - not sure whether to fix this too...