mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Cleanups for a few warnings.
This commit is contained in:
parent
c3de1c374d
commit
58a42faff7
@ -435,7 +435,7 @@
|
||||
$sri = ldap_search($this->ds, $this->group_context, "(&(gidnumber=$account_id)(phpgwaccounttype=g))");
|
||||
$allValues = ldap_get_entries($this->ds, $sri);
|
||||
|
||||
if ($allValues[0]['cn'][0])
|
||||
if (@$allValues[0]['cn'][0])
|
||||
{
|
||||
$id_list[$account_id] = $allValues[0]['cn'][0];
|
||||
return $id_list[$account_id];
|
||||
@ -445,7 +445,7 @@
|
||||
$sri = ldap_search($this->ds, $this->user_context, "(&(uidnumber=$account_id)(phpgwaccounttype=u))");
|
||||
$allValues = ldap_get_entries($this->ds, $sri);
|
||||
|
||||
if ($allValues[0]['uid'][0])
|
||||
if (@$allValues[0]['uid'][0])
|
||||
{
|
||||
$id_list[$account_id] = $allValues[0]['uid'][0];
|
||||
return $id_list[$account_id];
|
||||
|
Loading…
Reference in New Issue
Block a user