Skip to content

Commit

Permalink
core#1132 - don't fire hook_civicrm_fieldOptions before hook_civicrm_…
Browse files Browse the repository at this point in the history
…config loads all files
  • Loading branch information
MegaphoneJon committed Feb 10, 2021
1 parent 0166118 commit 4dc4579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/I18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public static function languages($justEnabled = FALSE) {
static $enabled = NULL;

if (!$all) {
$all = CRM_Contact_BAO_Contact::buildOptions('preferred_language');
CRM_Core_OptionValue::getValues(['name' => 'languages'], $all, 'weight', TRUE);

// get labels
$rows = [];
Expand Down

0 comments on commit 4dc4579

Please sign in to comment.