phpgwtypeid was not being checked correctly

This commit is contained in:
Miles Lott 2001-05-14 01:57:43 +00:00
parent 6a26375a68
commit 7902ce2969

View File

@ -713,7 +713,7 @@
{
$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']));
}