Мелочь

This commit is contained in:
2020-10-30 17:09:12 +06:00
parent e29891e06c
commit 046d957b7d
2 changed files with 5 additions and 3 deletions

View File

@ -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