Requires the path to include the right translation file
This commit is contained in:
@@ -83,7 +83,7 @@ if (!class_exists('registrations')) {
|
|||||||
if ($xml_response == "Invalid Profile!") {
|
if ($xml_response == "Invalid Profile!") {
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
$language = new text;
|
$language = new text;
|
||||||
$text = $language->get();
|
$text = $language->get(null, '/app/registrations');
|
||||||
|
|
||||||
//show the error message
|
//show the error message
|
||||||
$xml_response = "<error_msg>".escape($text['label-message'])."</error_msg>";
|
$xml_response = "<error_msg>".escape($text['label-message'])."</error_msg>";
|
||||||
|
|||||||
Reference in New Issue
Block a user