mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
"removed accidently commited 2. patch"
This commit is contained in:
parent
e5f5feddf1
commit
23c473690e
@ -665,7 +665,7 @@ class so_sql
|
||||
if ($criteria[$col][0] == '!')
|
||||
{
|
||||
$cmp_op = ' NOT'.$cmp_op;
|
||||
$criteria[$col] = '('.substr($criteria[$col],1).' OR '.$criteria[$col].' IS NULL)';
|
||||
$criteria[$col] = substr($criteria[$col],1);
|
||||
$negate = true;
|
||||
}
|
||||
$query[] = ($negate ? ' ('.$db_col.' IS NULL OR ' : '').$db_col.$cmp_op.$this->db->quote($wildcard.str_replace(array('%','_','*','?'),array('\\%','\\_','%','_'),$criteria[$col]).$wildcard).($negate ? ') ' : '');
|
||||
|
Loading…
Reference in New Issue
Block a user