forked from Wavyzz/dolibarr
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
Conflicts: htdocs/accountancy/journal/purchasesjournal.php htdocs/accountancy/journal/sellsjournal.php htdocs/core/lib/functions.lib.php
This commit is contained in:
@@ -7804,12 +7804,11 @@ function natural_search($fields, $value, $mode = 0, $nofirstand = 0)
|
||||
}
|
||||
else // $mode=0
|
||||
{
|
||||
$textcrit = '';
|
||||
$tmpcrits = explode('|', $crit);
|
||||
$i3 = 0;
|
||||
foreach ($tmpcrits as $tmpcrit)
|
||||
{
|
||||
if (empty($tmpcrit)) continue;
|
||||
if ($tmpcrit !== '0' && empty($tmpcrit)) continue;
|
||||
|
||||
$newres .= (($i2 > 0 || $i3 > 0) ? ' OR ' : '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user