From cfc4ad50065adefea9cac4a3bfe4d141f3893306 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Fri, 10 Mar 2006 08:09:42 +0000 Subject: [PATCH] $accountID is a string not a int --- phpgwapi/inc/class.accounts_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_ldap.inc.php b/phpgwapi/inc/class.accounts_ldap.inc.php index 74b9afd4a2..89b1bad0d2 100644 --- a/phpgwapi/inc/class.accounts_ldap.inc.php +++ b/phpgwapi/inc/class.accounts_ldap.inc.php @@ -447,7 +447,7 @@ if($wasAccount) { // remove the user from any group he is member of - $filter = "(&(objectclass=posixgroup)(memberuid=" . (int)$accountID . "))"; + $filter = "(&(objectclass=posixgroup)(memberuid=" . $accountID . "))"; $justThese = array('memberuid','gidnumber'); $sri = ldap_search($this->ds, $this->group_context, $filter, $justThese); if($sri)