Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendrapurohit committed Feb 6, 2017
1 parent 27ed953 commit ff29596
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CRM/Price/BAO/PriceField.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ public static function create(&$params) {
// update previous field values( if any )
if ($fieldValue->find(TRUE)) {
$optionsIds['id'] = $fieldValue->id;
}

//Update price_field_value label when edited inline.
if (!empty($params['id']) && $priceField->label != $fieldValue->label) {
$fieldValue->label = $priceField->label;
$fieldValue->save();
//Update price_field_value label when edited inline.
if (!empty($params['id']) && $priceField->label != $fieldValue->label) {
$fieldValue->label = $priceField->label;
$fieldValue->save();
}
}
}
$defaultArray = array();
Expand Down

0 comments on commit ff29596

Please sign in to comment.