diff --git a/function/normal.php b/function/normal.php index 1e4e0d7..68a9afb 100644 --- a/function/normal.php +++ b/function/normal.php @@ -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);