From d668bdd6fe412d6ee2a4843da151e7f301c79ec5 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Mon, 5 Jul 2010 22:39:54 +0000 Subject: [PATCH] - Create the admin account with the default language selected during the setup SVN:trunk[568] --- setup/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/index.php b/setup/index.php index 891e47a55..eb737f4bd 100644 --- a/setup/index.php +++ b/setup/index.php @@ -404,7 +404,7 @@ function CreateAdminAccount(SetupWebPage $oP, Config $oConfig, $sAdminUser, $sAd { $oP->log('Info - CreateAdminAccount'); InitDataModel($oP, TMP_CONFIG_FILE, true); // allow missing DB - if (UserRights::CreateAdministrator($sAdminUser, $sAdminPwd)) + if (UserRights::CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage)) { $oP->ok("Administrator account '$sAdminUser' created."); return true;