mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:50:11 +00:00
Replaced $_REQUEST
This commit is contained in:
parent
344d514857
commit
dd8d49d9cf
3 changed files with 12 additions and 13 deletions
|
@ -37,7 +37,7 @@ class Media extends BaseApi
|
|||
self::checkAllowedScope(self::SCOPE_WRITE);
|
||||
$uid = self::getCurrentUserID();
|
||||
|
||||
Logger::info('Photo post', ['request' => $_REQUEST, 'files' => $_FILES]);
|
||||
Logger::info('Photo post', ['request' => $request, 'files' => $_FILES]);
|
||||
|
||||
if (empty($_FILES['file'])) {
|
||||
DI::mstdnError()->UnprocessableEntity();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue