Pārlūkot izejas kodu

- Create the admin account with the default language selected during the setup

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@567 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 gadi atpakaļ
vecāks
revīzija
388f68dc5d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      addons/userrights/userrightsmatrix.class.inc.php

+ 1 - 1
addons/userrights/userrightsmatrix.class.inc.php

@@ -140,7 +140,7 @@ class UserRightsMatrix extends UserRightsAddOnAPI
 	);
 
 	// Installation: create the very first user
-	public function CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage)
+	public function CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage = 'EN US')
 	{
 		// Maybe we should check that no other user with userid == 0 exists
 		$oUser = new UserRightsMatrixUsers();