X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FBAO%2FEvent.php;h=2ad3f680b15595568f1718266ef41cf8b3ed8428;hb=05a5b2cf3ff09660a5f97bf36632af69127ec08d;hp=c155a9dc423c117e1b3207ed2bd5750b7d4d7d2d;hpb=a5b08a92f51c39c668edf05a5db3b199a300ddde;p=civicrm-core.git diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index c155a9dc42..2ad3f680b1 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -1664,9 +1664,8 @@ WHERE id = $cfID //take the custom field options $returnProperties = array($name => 1); $query = new CRM_Contact_BAO_Query($params, $returnProperties, $fields); - $options = &$query->_options; if (!$skip) { - $displayValue = CRM_Core_BAO_CustomField::getDisplayValue($customVal, $cfID, $options); + $displayValue = CRM_Core_BAO_CustomField::displayValue($customVal, $cfID); } //Hack since we dont have function to check empty. //FIXME in 2.3 using crmIsEmptyArray()