From d2485cc46248f2e1c94bfe1e764dd6012362983a Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Fri, 29 May 2026 14:43:21 -0400 Subject: [PATCH] Fix issue with numeric options --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index a2e94ba..5642e00 100644 --- a/index.php +++ b/index.php @@ -53,7 +53,7 @@ function get_results($qid) $results[$opt['name']] = $qq['SUM(points)'] ?? 0; } asort($results); - return array_reverse($results); + return array_reverse($results, $preserve_keys=true); } function get_num_responses($qid) -- 2.39.5