forked from extern/egroupware
"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