Use the $request variable

This commit is contained in:
Michael 2022-01-16 07:35:20 +00:00
parent 8ff2cc3976
commit f11bf08a7b
11 changed files with 28 additions and 28 deletions

View file

@ -39,7 +39,7 @@ class Show extends BaseApi
$type = $this->parameters['extension'] ?? '';
// params
$gid = $_REQUEST['gid'] ?? 0;
$gid = $request['gid'] ?? 0;
// get data of the specified group id or all groups if not specified
if ($gid != 0) {