-
-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRM-19741 Add back in fix and add in unit tests to lock in fix #10120
Conversation
seamuslee001
commented
Apr 6, 2017
•
edited by civicrm-builder
Loading
edited by civicrm-builder
- CRM-19741: Price set and price set value "label" fields are inconsistant to users
This fixes regression now @jitendrapurohit @eileenmcnaughton and adds unit tests as well |
@jitendrapurohit can you check this - it is the regression you spotted |
CRM/Price/BAO/PriceField.php
Outdated
@@ -170,7 +176,7 @@ public static function create(&$params) { | |||
throw new CRM_Core_Exception($e->getMessage()); | |||
} | |||
} | |||
elseif (!empty($optionIds)) { | |||
elseif (!empty($optionsIds)) { | |||
$optionsLoad = civicrm_api3('price_field_value', 'get', array('id' => $optionIds['id'])); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems an additional typo here - $optionIds
- failing the test again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the ping have fixed it up (minor spelling issues mostly)
@jitendrapurohit is this good to merge now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eileenmcnaughton yeah, confirmed that it works well. Thanks for the test @seamuslee001