$accountID is a string not a int

This commit is contained in:
Lars Kneschke 2006-03-10 08:09:42 +00:00
parent e419a6aa6d
commit cfc4ad5006

View File

@ -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)