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 //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"]);