mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 10:51:38 +01:00
fixed SQL error: contact_owner is ambigous (addressbook other then all selected)
This commit is contained in:
parent
392c55f31b
commit
e8c545497e
@ -367,6 +367,16 @@ class addressbook_sql extends so_sql
|
||||
++$extra_filter;
|
||||
unset($filter[$name]);
|
||||
}
|
||||
switch($name)
|
||||
{
|
||||
case 'owner':
|
||||
case 'contact_owner':
|
||||
$filter[] = $this->db->expression($this->table_name,$this->table_name.'.',array(
|
||||
'contact_owner' => $val,
|
||||
));
|
||||
unset($filter[$name]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (isset($filter['list']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user