aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2017-10-03 19:26:48 +0200
committerGitHub <noreply@github.com>2017-10-03 19:26:48 +0200
commit2f69b6d04e399bd3efae0f12b8ad8c148fabf350 (patch)
tree62133d2af36b2e2e195b2a473b4207a4c0e11623 /index.php
parent3512f4461722c9a3c7cf6511232bda156bf91970 (diff)
parent722caa209005a23b0cfba31aa10cd34a45880cec (diff)
downloadShaarli-2f69b6d04e399bd3efae0f12b8ad8c148fabf350.tar.gz
Shaarli-2f69b6d04e399bd3efae0f12b8ad8c148fabf350.tar.zst
Shaarli-2f69b6d04e399bd3efae0f12b8ad8c148fabf350.zip
Merge pull request #981 from mark-gerarts/default-note-title
Allow setting of a default note title, see #963
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 fb00a9fa..43aab303 100644
--- a/index.php
+++ b/index.php
@@ -1443,7 +1443,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
1443 1443
1444 if ($url == '') { 1444 if ($url == '') {
1445 $url = '?' . smallHash($linkdate . $LINKSDB->getNextId()); 1445 $url = '?' . smallHash($linkdate . $LINKSDB->getNextId());
1446 $title = 'Note: '; 1446 $title = $conf->get('general.default_note_title', 'Note: ');
1447 } 1447 }
1448 $url = escape($url); 1448 $url = escape($url);
1449 $title = escape($title); 1449 $title = escape($title);