aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--application/bookmark/LinkDB.php4
-rw-r--r--index.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/application/bookmark/LinkDB.php b/application/bookmark/LinkDB.php
index efde8468..76ba95f0 100644
--- a/application/bookmark/LinkDB.php
+++ b/application/bookmark/LinkDB.php
@@ -102,7 +102,7 @@ class LinkDB implements Iterator, Countable, ArrayAccess
102 $isLoggedIn, 102 $isLoggedIn,
103 $hidePublicLinks 103 $hidePublicLinks
104 ) { 104 ) {
105 105
106 $this->datastore = $datastore; 106 $this->datastore = $datastore;
107 $this->loggedIn = $isLoggedIn; 107 $this->loggedIn = $isLoggedIn;
108 $this->hidePublicLinks = $hidePublicLinks; 108 $this->hidePublicLinks = $hidePublicLinks;
@@ -415,7 +415,7 @@ You use the community supported version of the original Shaarli project, by Seba
415 $visibility = 'all', 415 $visibility = 'all',
416 $untaggedonly = false 416 $untaggedonly = false
417 ) { 417 ) {
418 418
419 // Filter link database according to parameters. 419 // Filter link database according to parameters.
420 $searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : ''; 420 $searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : '';
421 $searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : ''; 421 $searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : '';
diff --git a/index.php b/index.php
index 9e473936..1f979d3b 100644
--- a/index.php
+++ b/index.php
@@ -1179,6 +1179,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager,
1179 $link['thumbnail'] = $thumbnailer->get($url); 1179 $link['thumbnail'] = $thumbnailer->get($url);
1180 } 1180 }
1181 1181
1182 $link['sticky'] = isset($link['sticky']) ? $link['sticky'] : false;
1183
1182 $pluginManager->executeHooks('save_link', $link); 1184 $pluginManager->executeHooks('save_link', $link);
1183 1185
1184 $LINKSDB[$id] = $link; 1186 $LINKSDB[$id] = $link;