aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-08-07 12:15:08 +0200
committerArthurHoaro <arthur@hoa.ro>2016-08-07 12:15:08 +0200
commitcdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a (patch)
treec46549feb88bf93280dbb494ef3ef9dee9ebe2bf
parentcb30622d8b3d7c350e2b2a5506727e2309736505 (diff)
downloadShaarli-cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a.tar.gz
Shaarli-cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a.tar.zst
Shaarli-cdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a.zip
Bugfix: wrong key used to get default private links setting
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 091ad704..9ae798ba 100644
--- a/index.php
+++ b/index.php
@@ -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