mirror of
https://github.com/friendica/friendica
synced 2025-04-23 14:30:11 +00:00
Replaced $_REQUEST
This commit is contained in:
parent
344d514857
commit
dd8d49d9cf
3 changed files with 12 additions and 13 deletions
|
@ -84,7 +84,7 @@ abstract class DirectMessagesEndpoint extends BaseApi
|
|||
$params['order'] = ['id'];
|
||||
}
|
||||
|
||||
$cid = BaseApi::getContactIDForSearchterm($request['screen_name'] ?? '', $request['profileurl'] ?? '', $_REQUEST['user_id'] ?? 0, 0);
|
||||
$cid = BaseApi::getContactIDForSearchterm($request['screen_name'] ?? '', $request['profileurl'] ?? '', $request['user_id'] ?? 0, 0);
|
||||
if (!empty($cid)) {
|
||||
$cdata = Contact::getPublicAndUserContactID($cid, $uid);
|
||||
if (!empty($cdata['user'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue