From e312247f803f2c8ec8bda64602277df5dea26081 Mon Sep 17 00:00:00 2001 From: Igor Date: Sat, 31 Oct 2020 11:39:51 +0600 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=B3=D0=BD=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- metadata/include/tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/include/tools.php b/metadata/include/tools.php index 2439544..f9b66e9 100644 --- a/metadata/include/tools.php +++ b/metadata/include/tools.php @@ -16,7 +16,7 @@ function trt($text) global $db; $result=''; - $sql='select translation from _translations where del=false and language_id='.$_SESSION["LNG"].' and identifier=\''.$text.'\';'; + $sql='select translation from main._translations where del=false and language_id='.$_SESSION["LNG"].' and identifier=\''.$text.'\';'; //$sql='select translation from main._translations where del=false and language_id=(select id from main._languages where short_name=\''.$_SESSION["LNG"].'\') and identifier=\''.$text.'\';'; $res = NULL; try