mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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)
|
||||
{
|
||||
if($token == strtoupper(lang('AND')))
|
||||
if($token == strtoupper(lang('AND')) || $token == 'AND')
|
||||
{
|
||||
$token = '+'.strtok($break);
|
||||
}
|
||||
elseif ($token == strtoupper(lang('OR')))
|
||||
elseif ($token == strtoupper(lang('OR')) || $token == 'OR')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
elseif ($token == strtoupper(lang('NOT')))
|
||||
elseif ($token == strtoupper(lang('NOT')) || $token == 'NOT')
|
||||
{
|
||||
$token = '-'.strtok($break);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user