mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:20 +01:00
"fix to allow array with id's for autoinc_id"
This commit is contained in:
parent
c619a5d1ec
commit
a4d167ef8c
@ -461,7 +461,9 @@ class so_sql_cf extends so_sql
|
||||
{
|
||||
if ((int)$filter[$this->autoinc_id])
|
||||
{
|
||||
$filter[] = $this->table_name.'.'.$this->autoinc_id.'='.(int)$filter[$this->autoinc_id];
|
||||
$filter[] = $this->db->expression($this->table_name,$this->table_name.'.',array(
|
||||
$this->autoinc_id => $filter[$this->autoinc_id],
|
||||
));
|
||||
}
|
||||
unset($filter[$this->autoinc_id]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user