form csrf missing (#11282)

The csrf field is missing and you can not list all custom oids if there are more than 10 because the form fails.
How to reproduce:
Create more than 10 custom oids and then try to go to page 2 or change the total showed on the page to more than 10.
This commit is contained in:
Danislav 2020-03-13 20:30:05 +01:00 committed by GitHub
parent e7c40d756e
commit 75f741ca09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ $no_refresh = true;
<?php
echo csrf_field();
if (isset($_POST['num_of_rows']) && $_POST['num_of_rows'] > 0) {
$rows = $_POST['rows'];
} else {