X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPseudoConstant.php;h=ca7189dc3179f164d9dc47164e4586f61fd5b931;hb=82a7f74580e2d0d5197766666bccd7273a2c96ee;hp=c24d734fca7cd8f9908f407c13808dbc2ff2beda;hpb=36757548d18ddef29004c105e2420aad8ec318ca;p=civicrm-core.git diff --git a/CRM/Core/PseudoConstant.php b/CRM/Core/PseudoConstant.php index c24d734fca..ca7189dc31 100644 --- a/CRM/Core/PseudoConstant.php +++ b/CRM/Core/PseudoConstant.php @@ -1598,7 +1598,7 @@ WHERE id = %1 * List of options, each as a record of id+name+label. * Ex: [['id' => 123, 'name' => 'foo_bar', 'label' => 'Foo Bar']] */ - private static function formatArrayOptions($context, array &$options) { + public static function formatArrayOptions($context, array &$options) { // Already flat; return keys/values according to context if (!isset($options[0]) || !is_array($options[0])) { // For validate context, machine names are expected in place of labels.