forked from extern/egroupware
stop SQL error, when using account-type with name2id($name, "person_id", "u")
This commit is contained in:
parent
a2efa8069c
commit
a41865209c
@ -613,7 +613,7 @@ class Sql
|
||||
unset($where['account_lid']);
|
||||
}
|
||||
}
|
||||
if ($account_type)
|
||||
if ($account_type && $table !== $this->contacts_table)
|
||||
{
|
||||
$where['account_type'] = $account_type;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user