mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
Fix update error in access field
This commit is contained in:
parent
3806a09744
commit
058d9bcb2e
@ -603,7 +603,7 @@
|
||||
if (empty($ldap_fields[0]['phpgwaccess'])) {
|
||||
$stock_fields['phpgwaccess'] = $access;
|
||||
$err = ldap_modify($this->ldap,$dn,array('phpgwaccess' => $stock_fields['phpgwaccess']));
|
||||
} elseif (!$ldap_fields[0]['owner']) {
|
||||
} elseif (!$ldap_fields[0]['phpgwaccess']) {
|
||||
$stock_fields['phpgwaccess'] = $access;
|
||||
$err = ldap_mod_add($this->ldap,$dn,array('phpgwaccess' => $stock_fields['phpgwaccess']));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user