Merge pull request #3719 from annando/bugfix-api

Bugfix: The API picture upload created an invalid link
This commit is contained in:
Tobias Diekershoff 2017-09-21 06:43:36 +02:00 committed by GitHub
커밋 dd45dcbef3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -3988,7 +3988,7 @@ $called_api = null;
);
// 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]'
. '[/url]';