aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-08-07 12:16:27 +0200
committerGitHub <noreply@github.com>2016-08-07 12:16:27 +0200
commit6b98d4617966e66a10552ac856cc50b12d4a21e1 (patch)
treec46549feb88bf93280dbb494ef3ef9dee9ebe2bf /index.php
parentcb30622d8b3d7c350e2b2a5506727e2309736505 (diff)
parentcdbc818037fe42b7e0d5bdf2194ed0563ba4ce2a (diff)
downloadShaarli-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.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