X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=1d505305ad31f1aa3ac3bd85efc6163648e41fea;hb=b790f900c937d0d8f6eccc15d2b4c26023f3d276;hp=633ab89e6386e90eaa02f76d5a1880cb9366dccb;hpb=905f8675a728841b03b300d2c7dc909a1c4f7f03;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 633ab89e..1d505305 100644 --- a/index.php +++ b/index.php @@ -1181,6 +1181,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;