X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=4deed1975f23ee6d73455e7b08cba573dbcac1cb;hb=7c2287c86eed87376ddf7475fa01426ff3d9a798;hp=acfcc660bad686182b9f4fe1294b39a51152de87;hpb=43c77f658a905e2def6aeca4c092683977cd0c55;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index acfcc660..4deed197 100644 --- 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;