Fix. Use `text` class in fax_files.php

This commit is contained in:
Alexey Melnichuk 2015-12-25 11:48:17 +03:00
parent 4a18b554e3
commit 9f8d05481f
1 changed files with 2 additions and 4 deletions

View File

@ -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();
//get variables used to control the order
$order_by = check_str($_GET["order_by"]);