mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-10 19:41:26 +01:00
Clean code
This commit is contained in:
@@ -13628,7 +13628,7 @@ function dolForgeCriteriaCallback($matches)
|
||||
} else {
|
||||
if (strtoupper($tmpescaped) == 'NULL') {
|
||||
$tmpescaped = 'NULL';
|
||||
} elseif (ctype_digit((string) $tmpescaped)) {
|
||||
} elseif (is_numeric((string) $tmpescaped)) {
|
||||
$tmpescaped = (int) $tmpescaped;
|
||||
} else {
|
||||
$tmpescaped = (float) $tmpescaped;
|
||||
|
||||
Reference in New Issue
Block a user