Typo
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@310 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
b60a7c8530
commit
67edf060db
|
@ -55,7 +55,7 @@ if (isset($langs[$_COOKIE["lang"]])) {
|
|||
$LANG = $lang;
|
||||
break;
|
||||
}
|
||||
$lang = preg_replace('~-.*~', '', $LANG);
|
||||
$lang = preg_replace('~-.*~', '', $lang);
|
||||
if (!isset($accept_language[$lang]) && isset($langs[$lang])) {
|
||||
$LANG = $lang;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue