mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Always understand english search operators
This commit is contained in:
parent
99106024c4
commit
2760915be4
@ -1089,15 +1089,15 @@ class so_sql
|
|||||||
|
|
||||||
while($token)
|
while($token)
|
||||||
{
|
{
|
||||||
if($token == strtoupper(lang('AND')))
|
if($token == strtoupper(lang('AND')) || $token == 'AND')
|
||||||
{
|
{
|
||||||
$token = '+'.strtok($break);
|
$token = '+'.strtok($break);
|
||||||
}
|
}
|
||||||
elseif ($token == strtoupper(lang('OR')))
|
elseif ($token == strtoupper(lang('OR')) || $token == 'OR')
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
elseif ($token == strtoupper(lang('NOT')))
|
elseif ($token == strtoupper(lang('NOT')) || $token == 'NOT')
|
||||||
{
|
{
|
||||||
$token = '-'.strtok($break);
|
$token = '-'.strtok($break);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user