Commit 81e50d63 authored by cividesk's avatar cividesk

CRM-21281: Fix potential e-notice

parent 29f2587b
......@@ -70,8 +70,8 @@ class CRM_Price_BAO_LineItem extends CRM_Price_DAO_LineItem {
// unset entity table and entity id in $params
// we never update the entity table and entity id during update mode
if ($id) {
$entity_id = $params['entity_id'];
$entity_table = $params['entity_table'];
$entity_id = CRM_Utils_Array::value('entity_id', $params);
$entity_table = CRM_Utils_Array::value('entity_table', $params);
unset($params['entity_id'], $params['entity_table']);
else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment