forked from extern/egroupware
phpgwtypeid was not being checked correctly
This commit is contained in:
parent
6a26375a68
commit
7902ce2969
@ -713,7 +713,7 @@
|
|||||||
{
|
{
|
||||||
$err = ldap_modify($this->ldap,$dn,array('phpgwtypeid' => $stock_fields['tid']));
|
$err = ldap_modify($this->ldap,$dn,array('phpgwtypeid' => $stock_fields['tid']));
|
||||||
}
|
}
|
||||||
elseif (!$ldap_fields[0]['uid'])
|
elseif (!$ldap_fields[0]['phpgwtypeid'])
|
||||||
{
|
{
|
||||||
$err = ldap_mod_add($this->ldap,$dn,array('phpgwtypeid' => $stock_fields['tid']));
|
$err = ldap_mod_add($this->ldap,$dn,array('phpgwtypeid' => $stock_fields['tid']));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user