mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 15:00:07 +01:00
$accountID is a string not a int
This commit is contained in:
parent
e419a6aa6d
commit
cfc4ad5006
@ -447,7 +447,7 @@
|
|||||||
if($wasAccount)
|
if($wasAccount)
|
||||||
{
|
{
|
||||||
// remove the user from any group he is member of
|
// 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');
|
$justThese = array('memberuid','gidnumber');
|
||||||
$sri = ldap_search($this->ds, $this->group_context, $filter, $justThese);
|
$sri = ldap_search($this->ds, $this->group_context, $filter, $justThese);
|
||||||
if($sri)
|
if($sri)
|
||||||
|
Loading…
Reference in New Issue
Block a user