Фигня

This commit is contained in:
2020-10-31 11:39:51 +06:00
parent 605155b284
commit e312247f80

View File

@ -16,7 +16,7 @@ function trt($text)
global $db; global $db;
$result=''; $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.'\';'; //$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; $res = NULL;
try try