diff options
author | Arthur <arthur@hoa.ro> | 2016-08-07 12:16:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-07 12:16:27 +0200 |
commit | 6b98d4617966e66a10552ac856cc50b12d4a21e1 (patch) | |
tree | c46549feb88bf93280dbb494ef3ef9dee9ebe2bf /index.php | |
parent | cb30622d8b3d7c350e2b2a5506727e2309736505 (diff) | |
parent | cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a (diff) | |
download | Shaarli-6b98d4617966e66a10552ac856cc50b12d4a21e1.tar.gz Shaarli-6b98d4617966e66a10552ac856cc50b12d4a21e1.tar.zst Shaarli-6b98d4617966e66a10552ac856cc50b12d4a21e1.zip |
Merge pull request #628 from ArthurHoaro/hotfix/default-private
Bugfix: wrong key used to get default private links setting
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1412,7 +1412,7 @@ function renderPage($conf, $pluginManager) | |||
1412 | 'http_referer' => (isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']) : ''), | 1412 | 'http_referer' => (isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']) : ''), |
1413 | 'source' => (isset($_GET['source']) ? $_GET['source'] : ''), | 1413 | 'source' => (isset($_GET['source']) ? $_GET['source'] : ''), |
1414 | 'tags' => $LINKSDB->allTags(), | 1414 | 'tags' => $LINKSDB->allTags(), |
1415 | 'default_private_links' => $conf->get('default_private_links', false), | 1415 | 'default_private_links' => $conf->get('privacy.default_private_links', false), |
1416 | ); | 1416 | ); |
1417 | $pluginManager->executeHooks('render_editlink', $data); | 1417 | $pluginManager->executeHooks('render_editlink', $data); |
1418 | 1418 | ||