diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-02-24 11:30:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-24 11:30:35 +0100 |
commit | c21dcc8199ff3bfe8d7eac705d53a45408537c3c (patch) | |
tree | 6e501b3bb243d02aba116eac1d5f498de2f2122e /index.php | |
parent | 015314f3c6a1ce0b2c45fdb2fb0d36a15cab10f5 (diff) | |
parent | b790f900c937d0d8f6eccc15d2b4c26023f3d276 (diff) | |
download | Shaarli-c21dcc8199ff3bfe8d7eac705d53a45408537c3c.tar.gz Shaarli-c21dcc8199ff3bfe8d7eac705d53a45408537c3c.tar.zst Shaarli-c21dcc8199ff3bfe8d7eac705d53a45408537c3c.zip |
Merge pull request #1270 from ArthurHoaro/hotfix/sticky-warning
Fix a warning if links sticky status isn't set
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1171,6 +1171,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager, | |||
1171 | $link['thumbnail'] = $thumbnailer->get($url); | 1171 | $link['thumbnail'] = $thumbnailer->get($url); |
1172 | } | 1172 | } |
1173 | 1173 | ||
1174 | $link['sticky'] = isset($link['sticky']) ? $link['sticky'] : false; | ||
1175 | |||
1174 | $pluginManager->executeHooks('save_link', $link); | 1176 | $pluginManager->executeHooks('save_link', $link); |
1175 | 1177 | ||
1176 | $LINKSDB[$id] = $link; | 1178 | $LINKSDB[$id] = $link; |