mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:10:18 +00:00
Reenable Twitter/Show test
This commit is contained in:
parent
e10045f13f
commit
2b57266c88
2 changed files with 21 additions and 11 deletions
|
@ -38,7 +38,7 @@ class Show extends BaseApi
|
|||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
if (empty($this->parameters['id'])) {
|
||||
$cid = BaseApi::getContactIDForSearchterm($_REQUEST['screen_name'] ?? '', $_REQUEST['profileurl'] ?? '', $_REQUEST['user_id'] ?? 0, $uid);
|
||||
$cid = BaseApi::getContactIDForSearchterm($request['screen_name'] ?? '', $request['profileurl'] ?? '', $request['user_id'] ?? 0, $uid);
|
||||
} else {
|
||||
$cid = (int)$this->parameters['id'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue