diff --git a/db.php b/db.php index 18f46dd..28ad2c4 100644 --- a/db.php +++ b/db.php @@ -117,7 +117,7 @@ $stmt = $pdo->prepare(" $value = null; // Handle numeric between -3 and +3 - if (is_numeric($val) && $val >= -3 && $val <= 3) { + if (is_numeric($val) && $val >= -3 && $val <= 100) { $value = (int) $val; } else { $text = substr($val, 0, 255); // enforce VARCHAR(255) limit