Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieve
Do not try to retrieve thumbnails for internal link
This commit is contained in:
commit
cc69aad4a9
6 changed files with 42 additions and 7 deletions
application/api
|
@ -59,7 +59,7 @@ class ApiUtils
|
|||
{
|
||||
$out['id'] = $link['id'];
|
||||
// Not an internal link
|
||||
if ($link['url'][0] != '?') {
|
||||
if (! is_note($link['url'])) {
|
||||
$out['url'] = $link['url'];
|
||||
} else {
|
||||
$out['url'] = $indexUrl . $link['url'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue