diff --git a/admin/user.php b/admin/user.php index ac0f5f94cb6..80e462d2743 100644 --- a/admin/user.php +++ b/admin/user.php @@ -246,7 +246,7 @@ } else { - $countries = get_string_manager()->get_list_of_countries(false); + $countries = get_string_manager()->get_list_of_countries(true); if (empty($mnethosts)) { $mnethosts = $DB->get_records('mnet_host', null, 'id', 'id,wwwroot,name'); } diff --git a/auth/classes/digital_consent.php b/auth/classes/digital_consent.php index e3e7e59bd61..3f7e3afc36b 100644 --- a/auth/classes/digital_consent.php +++ b/auth/classes/digital_consent.php @@ -71,7 +71,7 @@ class digital_consent { public static function parse_age_digital_consent_map($ageconsentmap) { $ageconsentmapparsed = array(); - $countries = get_string_manager()->get_list_of_countries(); + $countries = get_string_manager()->get_list_of_countries(true); $isdefaultvaluepresent = false; $lines = preg_split('/\r|\n/', $ageconsentmap, -1, PREG_SPLIT_NO_EMPTY); foreach ($lines as $line) { diff --git a/blocks/myprofile/block_myprofile.php b/blocks/myprofile/block_myprofile.php index fa9c1662e5b..b596f15aea4 100644 --- a/blocks/myprofile/block_myprofile.php +++ b/blocks/myprofile/block_myprofile.php @@ -75,7 +75,7 @@ class block_myprofile extends block_base { $this->content->text .= '