1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-05 22:27:24 +02:00

Fix bs,ru,sr,uk single lang version after f2ce6c0

This commit is contained in:
Jakub Vrana
2025-03-15 02:32:00 +01:00
parent 08882c6a8e
commit 1fd8aa885b

View File

@@ -117,7 +117,7 @@ header("Cache-Control: immutable");
function lang(\$translation, \$number = null) { function lang(\$translation, \$number = null) {
if (is_array(\$translation)) { if (is_array(\$translation)) {
\$pos = $match2[2]\t\t\t: " . (preg_match("~\\\$LANG == '$_SESSION[lang]'.* \\? (.+)\n~U", $match2[1], $match3) ? $match3[1] : "1") . ' \$pos = $match2[2]\t\t\t: " . (preg_match("~'$_SESSION[lang]'.* \\? (.+)\n~U", $match2[1], $match3) ? $match3[1] : "1") . '
); );
$translation = $translation[$pos]; $translation = $translation[$pos];
} }