mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
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