mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
Bugfix: The API picture upload created an invalid link
This commit is contained in:
parent
1e8fd425bd
commit
cb5b155083
1 changed files with 1 additions and 1 deletions
|
@ -3988,7 +3988,7 @@ $called_api = null;
|
||||||
);
|
);
|
||||||
|
|
||||||
// adds link to the thumbnail scale photo
|
// adds link to the thumbnail scale photo
|
||||||
$arr['body'] = '[url=' . System::baseUrl() . '/photos/' . $owner_record[0]['name'] . '/image/' . $hash . ']'
|
$arr['body'] = '[url=' . System::baseUrl() . '/photos/' . $owner_record[0]['nick'] . '/image/' . $hash . ']'
|
||||||
. '[img]' . System::baseUrl() . '/photo/' . $hash . '-' . "2" . '.'. $typetoext[$filetype] . '[/img]'
|
. '[img]' . System::baseUrl() . '/photo/' . $hash . '-' . "2" . '.'. $typetoext[$filetype] . '[/img]'
|
||||||
. '[/url]';
|
. '[/url]';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue