Requires the path to include the right translation file

This commit is contained in:
FusionPBX
2023-06-29 09:54:39 -06:00
committed by GitHub
parent 2a577635e3
commit ba3afa2565

View File

@@ -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 = "<error_msg>".escape($text['label-message'])."</error_msg>";