mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
Replaced "filter_input" with the new request value function
This commit is contained in:
parent
720a43461d
commit
344d514857
11 changed files with 69 additions and 90 deletions
|
@ -56,7 +56,7 @@ class UpdateProfile extends BaseApi
|
|||
|
||||
Profile::publishUpdate($uid);
|
||||
|
||||
$skip_status = filter_var($request['skip_status'] ?? false, FILTER_VALIDATE_BOOLEAN);
|
||||
$skip_status = $this->getRequestValue($request, 'skip_status', false);
|
||||
|
||||
$user_info = DI::twitterUser()->createFromUserId($uid, $skip_status)->toArray();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue