mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
Fix regression
This commit is contained in:
@@ -13628,7 +13628,7 @@ function dolForgeCriteriaCallback($matches)
|
||||
} else {
|
||||
if (strtoupper($tmpescaped) == 'NULL') {
|
||||
$tmpescaped = 'NULL';
|
||||
} elseif (is_numeric((string) $tmpescaped)) {
|
||||
} elseif (ctype_digit((string) $tmpescaped)) { // if only 0-9 chars, no .
|
||||
$tmpescaped = (int) $tmpescaped;
|
||||
} else {
|
||||
$tmpescaped = (float) $tmpescaped;
|
||||
|
||||
Reference in New Issue
Block a user