Merged in feature/HOR-3089 (pull request #5660)
HOR-3089 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -195,6 +195,16 @@ class Users extends BaseUsers
|
||||
$translation = $translations->loadByCode($aFields['USR_DEFAULT_LANG']);
|
||||
$aFields['USR_DEFAULT_LANG_NAME'] = $translation['LANGUAGE_NAME'];
|
||||
|
||||
//Get the fullName with the correct format related to the settings
|
||||
$conf = new \Configurations();
|
||||
$confEnvSetting = $conf->getFormats();
|
||||
$aFields['USR_FULLNAME'] = $conf->usersNameFormatBySetParameters(
|
||||
$confEnvSetting['format'],
|
||||
$aFields['USR_USERNAME'],
|
||||
$aFields['USR_FIRSTNAME'],
|
||||
$aFields['USR_LASTNAME']
|
||||
);
|
||||
|
||||
$result = $aFields;
|
||||
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user