T1703271600
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
$length = ($_GET['length'] && gettype(+$_GET['length']) == 'integer') ? +$_GET['length'] : 10;
|
||||
$database = new Database();
|
||||
$questions_count = $database->query('SELECT COUNT(*) FROM "Questions"')['data'][0]['count'];
|
||||
if($length = 0) {
|
||||
if($length == 0) {
|
||||
$error = 12101;
|
||||
}
|
||||
if($length > $questions_count) {
|
||||
|
||||
Reference in New Issue
Block a user