mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
API: Fix profile_url handling / missing constant
This commit is contained in:
parent
dbcaf51923
commit
fb47389c69
12 changed files with 83 additions and 110 deletions
|
@ -52,7 +52,7 @@ class Conversation extends BaseApi
|
|||
$id = $_REQUEST['id'] ?? 0;
|
||||
}
|
||||
|
||||
Logger::info(API_LOG_PREFIX . '{subaction}', ['module' => 'api', 'action' => 'conversation', 'subaction' => 'show', 'id' => $id]);
|
||||
Logger::info(BaseApi::LOG_PREFIX . '{subaction}', ['module' => 'api', 'action' => 'conversation', 'subaction' => 'show', 'id' => $id]);
|
||||
|
||||
// try to fetch the item for the local user - or the public item, if there is no local one
|
||||
$item = Post::selectFirst(['parent-uri-id'], ['id' => $id]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue