]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Merge pull request #1270 from ArthurHoaro/hotfix/sticky-warning
[github/shaarli/Shaarli.git] / index.php
index 9ea26c7c5f67a09d8d2ab0d115863d44bd324de6..3700504b8a9e86422b1570a315b76c207daa35b8 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1171,6 +1171,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;