mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
Use the $request variable
This commit is contained in:
parent
8ff2cc3976
commit
f11bf08a7b
11 changed files with 28 additions and 28 deletions
|
@ -60,8 +60,8 @@ class Update extends BaseApi
|
|||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
// params
|
||||
$gid = $_REQUEST['list_id'] ?? 0;
|
||||
$name = $_REQUEST['name'] ?? '';
|
||||
$gid = $request['list_id'] ?? 0;
|
||||
$name = $request['name'] ?? '';
|
||||
|
||||
// error if no gid specified
|
||||
if ($gid == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue