1
0
Fork 0
- used `$this->getRequestValue($request, 'foo', <bar>)` instead of `$request['foo'] ?? <bar>`
- fixed wrong variable naming
- changed double-quotes to single
- see https://github.com/friendica/friendica/issues/11631#issuecomment-1196410497
This commit is contained in:
Roland Häder 2022-07-29 00:36:07 +02:00
commit eaed3945d1
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77
21 changed files with 28 additions and 30 deletions

View file

@ -44,7 +44,7 @@ class Delete extends BaseApi
// params
// error if no gid specified
if ($request['gid'] == 0 || $request['name'] == "") {
if ($request['gid'] == 0 || $request['name'] == '') {
throw new BadRequestException('gid or name not specified');
}