]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge tag 'v0.11.0' into latest
authorArthurHoaro <arthur@hoa.ro>
Sat, 27 Jul 2019 10:30:33 +0000 (12:30 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 27 Jul 2019 10:30:33 +0000 (12:30 +0200)
Release v0.11.0

application/bookmark/LinkDB.php
index.php

index efde8468fca97e896f1da161e444993bdd711b4d..76ba95f0dbd7a5a309ddb2f832f86fe6b5c81273 100644 (file)
@@ -102,7 +102,7 @@ class LinkDB implements Iterator, Countable, ArrayAccess
         $isLoggedIn,
         $hidePublicLinks
     ) {
-    
+
         $this->datastore = $datastore;
         $this->loggedIn = $isLoggedIn;
         $this->hidePublicLinks = $hidePublicLinks;
@@ -415,7 +415,7 @@ You use the community supported version of the original Shaarli project, by Seba
         $visibility = 'all',
         $untaggedonly = false
     ) {
-    
+
         // Filter link database according to parameters.
         $searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : '';
         $searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : '';
index 9e473936ab0ab76cc3d5d23dfb6cffc6c13c2468..1f979d3bab4478cfcb0b7f3f9e056f8ae6681399 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1179,6 +1179,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager,
             $link['thumbnail'] = $thumbnailer->get($url);
         }
 
+        $link['sticky'] = isset($link['sticky']) ? $link['sticky'] : false;
+
         $pluginManager->executeHooks('save_link', $link);
 
         $LINKSDB[$id] = $link;