From e86fdd35fdd2b7f920631bde2a32659713c988b0 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 7 Apr 2001 02:44:02 +0000 Subject: [PATCH] This should update the memberuid field for groups even when changing account_id --- phpgwapi/inc/class.accounts_ldap_wip.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_ldap_wip.inc.php b/phpgwapi/inc/class.accounts_ldap_wip.inc.php index 4c504d9df0..5cf557f376 100644 --- a/phpgwapi/inc/class.accounts_ldap_wip.inc.php +++ b/phpgwapi/inc/class.accounts_ldap_wip.inc.php @@ -246,7 +246,11 @@ $entry["memberuid"] = ""; for ($i=0;$iid2name($members[$i]['account_id']); + $currname = $this->id2name($members[$i]['account_id']); + if (!$this->isin_array($currname,$entry["memberuid"])) + { + $entry["memberuid"][$i] = $currname; + } } } // Accounts