Merge pull request #1346 from moteus/fax_files_lang

Fix. Use `text` class in fax_files.php
This commit is contained in:
FusionPBX 2015-12-25 09:47:37 -07:00
commit cb410c005a
1 changed files with 2 additions and 4 deletions

View File

@ -35,10 +35,8 @@ else {
} }
//add multi-lingual support //add multi-lingual support
require_once "app_languages.php"; $language = new text;
foreach($text as $key => $value) { $text = $language->get();
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
//get variables used to control the order //get variables used to control the order
$order_by = check_str($_GET["order_by"]); $order_by = check_str($_GET["order_by"]);