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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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>";