diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-08-07 12:15:08 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-08-07 12:15:08 +0200 |
commit | cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a (patch) | |
tree | c46549feb88bf93280dbb494ef3ef9dee9ebe2bf /index.php | |
parent | cb30622d8b3d7c350e2b2a5506727e2309736505 (diff) | |
download | Shaarli-cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a.tar.gz Shaarli-cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a.tar.zst Shaarli-cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a.zip |
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 | ||