From 94c701a00f183c2a726f3182ee5f3c91733276e4 Mon Sep 17 00:00:00 2001 From: Leander Date: Wed, 5 Apr 2017 08:47:24 +0200 Subject: [PATCH] T201704050847 --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index 431f94e..39341d6 100644 --- a/start.php +++ b/start.php @@ -20,7 +20,7 @@ $questions_count = $db->query('SELECT COUNT(*) FROM "Questions"')['data'][0]['co function random_numbers($min, $max, $count){ $numbers = range($min, $max); shuffle($numbers); - return array_slice($numbers, 0, $count-1); + return array_slice($numbers, 0, $count); } if($uid == '') {