Commit 0a146007 authored by eileen's avatar eileen 🎱 Committed by GitHub

Merge pull request #11108 from cividesk/CRM-21281

CRM-21281: Fix potential e-notice
parents e4a4f30c 81e50d63
......@@ -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