mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Use the $request variable
This commit is contained in:
parent
8ff2cc3976
commit
f11bf08a7b
11 changed files with 28 additions and 28 deletions
|
@ -60,7 +60,7 @@ class Create extends BaseApi
|
|||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
// params
|
||||
$name = $_REQUEST['name'] ?? '';
|
||||
$name = $request['name'] ?? '';
|
||||
|
||||
if ($name == '') {
|
||||
throw new HTTPException\BadRequestException('group name not specified');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue