mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:10:11 +00:00
Unify request value handling
This commit is contained in:
parent
4319136421
commit
4724000d06
16 changed files with 105 additions and 73 deletions
|
@ -60,7 +60,7 @@ class Destroy extends BaseApi
|
|||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
// params
|
||||
$gid = $request['list_id'] ?? 0;
|
||||
$gid = $this->getRequestValue($request, 'list_id', 0);
|
||||
|
||||
// error if no gid specified
|
||||
if ($gid == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue