Skip to content
Snippets Groups Projects
Commit 2c1477ec authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Revert "FIX Accept spaces around the | criteria"

This reverts commit 37d158f1.
parent 37d158f1
No related branches found
No related tags found
No related merge requests found
......@@ -5737,9 +5737,7 @@ function natural_search($fields, $value, $mode=0, $nofirstand=0)
else // $mode=0
{
$textcrit = '';
$tmpcrit = preg_replace('/\s+|/','|',$tmpcrit);
$tmpcrit = preg_replace('/|\s+/','|',$tmpcrit);
$tmpcrits = explode('|',$tmpcrit);
$tmpcrits = explode('|',$crit);
$i3 = 0;
foreach($tmpcrits as $tmpcrit)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment