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:
@@ -117,7 +117,7 @@ header("Cache-Control: immutable");
|
||||
|
||||
function lang(\$translation, \$number = null) {
|
||||
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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user