forked from extern/egroupware
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;
|
$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 ';
|
$cmp_op = ' LIKE ';
|
||||||
if ($criteria[$col]{0} == '!')
|
if ($criteria[$col]{0} == '!')
|
||||||
|
Loading…
Reference in New Issue
Block a user