From 47871b1aa67e112fdc9e7272fbc3d2189a8912aa Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Fri, 25 Dec 2015 11:48:17 +0300 Subject: [PATCH] Fix. Use `text` class in fax_files.php --- app/fax/fax_files.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/fax/fax_files.php b/app/fax/fax_files.php index bb08fa837d..cd9a80b589 100644 --- a/app/fax/fax_files.php +++ b/app/fax/fax_files.php @@ -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"]);