Commit 37222fe3 authored by Johan Vervloet's avatar Johan Vervloet
Browse files

Bugfix in getExisting of OptionValue.

parent c6762960
......@@ -51,7 +51,7 @@ class CRM_Civiconfig_Entity_OptionValue extends CRM_Civiconfig_Entity {
public function getExisting(array $params) {
$params2 = array(
'name' => $params['name'],
'option_group_id' => $params['optionGroupId']
'option_group_id' => $params['option_group_id']
);
try {
return civicrm_api3('OptionValue', 'Getsingle', $params2);
......
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