mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
fixed warning introduced by strstr --> strpos conversation
This commit is contained in:
parent
21f473137e
commit
9e5ba08ecb
@ -514,7 +514,8 @@ class so_sql
|
||||
{
|
||||
$db_col = $col;
|
||||
}
|
||||
if ($wildcard || strpos($criteria[$col],'*')!==false || strpos($criteria[$col],'?')!==false || $criteria[$col]{0} == '!')
|
||||
if ($wildcard || $criteria[$col]{0} == '!' ||
|
||||
is_string($criteria[$col]) && (strpos($criteria[$col],'*')!==false || strpos($criteria[$col],'?')!==false))
|
||||
{
|
||||
$cmp_op = ' LIKE ';
|
||||
if ($criteria[$col]{0} == '!')
|
||||
|
Loading…
Reference in New Issue
Block a user