N°8766 - Fix user's login displayed in backoffice log entry instead of user's contact friendlyname when user is disabled

This commit is contained in:
Molkobain
2026-04-13 21:14:03 +02:00
parent 68d14c4de6
commit ab1290dfd0

View File

@@ -1157,7 +1157,7 @@ class UserRights
return self::$m_oUser->GetKey();
} else {
// find the id out of the login string
$oUser = self::FindUser($sLogin);
$oUser = self::FindUser($sLogin, bAllowDisabledUsers: true);
if (is_null($oUser)) {
return null;
}