mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
allow to pass (already quoted) query-parts as filter
This commit is contained in:
parent
5a1de96f03
commit
658fe2f4c9
@ -458,7 +458,12 @@ class so_sql
|
||||
}
|
||||
foreach($data2db_filter as $col => $val)
|
||||
{
|
||||
if ($val !== '') $db_filter[array_search($col,$this->db_cols)] = $val;
|
||||
if ($val !== '')
|
||||
{
|
||||
if (!is_numeric($col)) $col = array_search($col,$this->db_cols);
|
||||
|
||||
$db_filter[$col] = $val;
|
||||
}
|
||||
}
|
||||
if ($query)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user