mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 13:22:06 +02: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']);
|
unset($where['account_lid']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($account_type)
|
if ($account_type && $table !== $this->contacts_table)
|
||||||
{
|
{
|
||||||
$where['account_type'] = $account_type;
|
$where['account_type'] = $account_type;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user