Merge pull request #628 from ArthurHoaro/hotfix/default-private

Bugfix: wrong key used to get default private links setting
This commit is contained in:
Arthur 2016-08-07 12:16:27 +02:00 committed by GitHub
commit 6b98d46179

View file

@ -1412,7 +1412,7 @@ function renderPage($conf, $pluginManager)
'http_referer' => (isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']) : ''), 'http_referer' => (isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']) : ''),
'source' => (isset($_GET['source']) ? $_GET['source'] : ''), 'source' => (isset($_GET['source']) ? $_GET['source'] : ''),
'tags' => $LINKSDB->allTags(), '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); $pluginManager->executeHooks('render_editlink', $data);