From ba3afa2565e57241d2755ebe07260f3f6a9f3cd2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 29 Jun 2023 09:54:39 -0600 Subject: [PATCH] Requires the path to include the right translation file --- app/registrations/resources/classes/registrations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/registrations/resources/classes/registrations.php b/app/registrations/resources/classes/registrations.php index a961d818e6..82b832fd8b 100644 --- a/app/registrations/resources/classes/registrations.php +++ b/app/registrations/resources/classes/registrations.php @@ -83,7 +83,7 @@ if (!class_exists('registrations')) { if ($xml_response == "Invalid Profile!") { //add multi-lingual support $language = new text; - $text = $language->get(); + $text = $language->get(null, '/app/registrations'); //show the error message $xml_response = "".escape($text['label-message'])."";