aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/netscape
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-03-02 10:54:06 +0100
committerGitHub <noreply@github.com>2019-03-02 10:54:06 +0100
commitcc69aad4a903dc603f47cfa87aeb1865b03c8950 (patch)
treeffc04dac709b2a4cc732ce10f98fb40a562863c7 /application/netscape
parent5bb384cd2742ff4f982cbe914cee551b74ab4bad (diff)
parenta8e7da01146455f13ef06b151a7dafedd3acf769 (diff)
downloadShaarli-cc69aad4a903dc603f47cfa87aeb1865b03c8950.tar.gz
Shaarli-cc69aad4a903dc603f47cfa87aeb1865b03c8950.tar.zst
Shaarli-cc69aad4a903dc603f47cfa87aeb1865b03c8950.zip
Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieve
Do not try to retrieve thumbnails for internal link
Diffstat (limited to 'application/netscape')
-rw-r--r--application/netscape/NetscapeBookmarkUtils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/netscape/NetscapeBookmarkUtils.php b/application/netscape/NetscapeBookmarkUtils.php
index 2fb1a4a6..28665941 100644
--- a/application/netscape/NetscapeBookmarkUtils.php
+++ b/application/netscape/NetscapeBookmarkUtils.php
@@ -54,7 +54,7 @@ class NetscapeBookmarkUtils
54 $link['timestamp'] = $date->getTimestamp(); 54 $link['timestamp'] = $date->getTimestamp();
55 $link['taglist'] = str_replace(' ', ',', $link['tags']); 55 $link['taglist'] = str_replace(' ', ',', $link['tags']);
56 56
57 if (startsWith($link['url'], '?') && $prependNoteUrl) { 57 if (is_note($link['url']) && $prependNoteUrl) {
58 $link['url'] = $indexUrl . $link['url']; 58 $link['url'] = $indexUrl . $link['url'];
59 } 59 }
60 60