From 56be218fc7c4f21f7216cc9dcde101daeeb777c7 Mon Sep 17 00:00:00 2001 From: Martin Haase <martin.haase@daasi.de> Date: Thu, 21 Oct 2010 16:40:20 +0000 Subject: [PATCH] minor mod git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@7514 7c539038-3410-0410-b1ec-0f2a7bf1c452 --- info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php index 2a3509c..3194c1d 100755 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php @@ -1411,7 +1411,7 @@ class TgExtra { $result[] = new userDetail ( mb_strtolower( $entry['uid'][0]), // ePPN - $entry['displayname'][0], // name + isset ($entry['displayname'][0]) ? $entry['displayname'][0] : $entry['cn'][0], // name, alternatively the ePPN residing in cn isset ($entry['mail'][0]) ? $entry['mail'][0] : null, isset ($entry['o'][0]) ? $entry['o'][0]: null, // organisation isset ($entry['tgagreesearch'][0]) ? ($entry['tgagreesearch'][0] === "TRUE" ? TRUE : FALSE) : null, // bool -- GitLab