forked from Wavyzz/dolibarr
FIX better compatibility with some old extrafield syntax filter
This commit is contained in:
@@ -13356,6 +13356,7 @@ function forgeSQLFromUniversalSearchCriteria($filter, &$errorstr = '', $noand =
|
||||
if ($noerror) {
|
||||
return '1 = 2';
|
||||
} else {
|
||||
dol_syslog("forgeSQLFromUniversalSearchCriteria Filter error - ".$errorstr, LOG_WARNING);
|
||||
return 'Filter error - '.$tmperrorstr; // Bad syntax of the search string, we return an error message or force a SQL not found
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user