N°5135 - Impersonate: history of changes versus log entries - Fix typo

This commit is contained in:
Eric Espie
2022-08-11 17:17:29 +02:00
parent b6e22e47ca
commit 7a7498537f

View File

@@ -4589,7 +4589,7 @@ class AttributeCaseLog extends AttributeLongText
{
//N°5135 - add impersonation information in caselog
if (UserRights::IsImpersonated()){
$sOnBehalfOf = $sUserString = Dict::Format('UI:Archive_User_OnBehalfOf_User', UserRights::GetRealUserFriendlyName(), UserRights::GetUserFriendlyName());
$sOnBehalfOf = Dict::Format('UI:Archive_User_OnBehalfOf_User', UserRights::GetRealUserFriendlyName(), UserRights::GetUserFriendlyName());
$oCaseLog->AddLogEntry($proposedValue, $sOnBehalfOf, UserRights::GetConnectedUserId());
} else {
$oCaseLog->AddLogEntry($proposedValue);