X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=4deed1975f23ee6d73455e7b08cba573dbcac1cb;hb=1cc5eaf9dee0e71aefbce1ff0f28c86ff320c053;hp=acfcc660bad686182b9f4fe1294b39a51152de87;hpb=0ed9396bfa12f086369b52cdc0742e3fe72273ec;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;