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

@ -60,7 +60,7 @@ class Destroy extends BaseApi
$uid = BaseApi::getCurrentUserID();
// params
$gid = $_REQUEST['list_id'] ?? 0;
$gid = $request['list_id'] ?? 0;
// error if no gid specified
if ($gid == 0) {