Jelajahi Sumber

- 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 tahun lalu
induk
melakukan
388f68dc5d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();