From 55a4111f3a9d07fd2729c89e0ae4b765274cf806 Mon Sep 17 00:00:00 2001 From: "Robert J. Lang" Date: Thu, 10 Aug 2023 06:42:22 -0700 Subject: [PATCH] Issue #80: global $language should be an object. --- CRM/Utils/System/Backdrop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Backdrop.php b/CRM/Utils/System/Backdrop.php index d8d1b8636f66..98b6a601bcf1 100644 --- a/CRM/Utils/System/Backdrop.php +++ b/CRM/Utils/System/Backdrop.php @@ -490,7 +490,7 @@ public function setUFLocale($civicrm_language) { global $language; $langcode = substr($civicrm_language, 0, 2); - $languages = language_list(FALSE, TRUE); + $languages = language_list(); if (isset($languages[$langcode])) { $language = $languages[$langcode];