]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Bugfix: wrong key used to get default private links setting 628/head
authorArthurHoaro <arthur@hoa.ro>
Sun, 7 Aug 2016 10:15:08 +0000 (12:15 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sun, 7 Aug 2016 10:15:08 +0000 (12:15 +0200)
index.php

index 091ad704e6e1b0d1404e878a69c9246c4466b8d4..9ae798bab8e93fca4a7ba0d63715708dd5bacdc8 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1412,7 +1412,7 @@ function renderPage($conf, $pluginManager)
             'http_referer' => (isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']) : ''),
             'source' => (isset($_GET['source']) ? $_GET['source'] : ''),
             'tags' => $LINKSDB->allTags(),
-            'default_private_links' => $conf->get('default_private_links', false),
+            'default_private_links' => $conf->get('privacy.default_private_links', false),
         );
         $pluginManager->executeHooks('render_editlink', $data);