From 09172a24e6254a0437415d6094906a8a67cfb2b5 Mon Sep 17 00:00:00 2001 From: Peter Edmond Date: Fri, 13 Jun 2025 21:31:35 +0100 Subject: [PATCH] Added ability to cope with up to 100 options in quantification selections --- db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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