fix install language

pull/41/head
qkqpttgf 2020-03-27 09:49:57 +08:00 committed by GitHub
parent 5c42aef340
commit 69f74da711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ function install()
if ($_GET['install2']) {
if ($_POST['admin']!='') {
$tmp['admin'] = $_POST['admin'];
$tmp['language'] = $_POST['language'];
$tmp['language'] = $_COOKIE['language'];
$response = setConfig($tmp);
if (api_error($response)) {
$html = api_error_msg($response);