mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Use the new multi-lingual code on fusionpbx/app sub directories.
This commit is contained in:
@@ -35,10 +35,8 @@ else {
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//action add or update
|
||||
if (isset($_REQUEST["id"])) {
|
||||
@@ -90,7 +88,7 @@ else {
|
||||
$voicemail_uuid_copy = check_str($_REQUEST["voicemail_uuid_copy"]);
|
||||
//assign the user to the extension
|
||||
$sqli = "
|
||||
insert into
|
||||
insert into
|
||||
v_voicemail_destinations
|
||||
(
|
||||
domain_uuid,
|
||||
|
||||
Reference in New Issue
Block a user