Explorar o código

- 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 %!s(int64=15) %!d(string=hai) anos
pai
achega
388f68dc5d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();