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 == '') {