1
0
Эх сурвалжийг харах

Merge pull request #13218 from nextcloud/backport/13187/stable15

[stable15] do not forgot to store the second displayname portion
blizzz 5 жил өмнө
parent
commit
d1490a96ee

+ 1 - 1
apps/user_ldap/lib/User/User.php

@@ -202,7 +202,7 @@ class User {
 			$displayName2 = (string)$ldapEntry[$attr][0];
 		}
 		if ($displayName !== '') {
-			$this->composeAndStoreDisplayName($displayName);
+			$this->composeAndStoreDisplayName($displayName, $displayName2);
 			$this->access->cacheUserDisplayName(
 				$this->getUsername(),
 				$displayName,