aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index c9bbfce5..7df6d819 100644
--- a/index.php
+++ b/index.php
@@ -1248,6 +1248,9 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
1248 // Remove duplicates. 1248 // Remove duplicates.
1249 $tags = implode(' ', array_unique(explode(' ', $tags))); 1249 $tags = implode(' ', array_unique(explode(' ', $tags)));
1250 1250
1251 if (empty(trim($_POST['lf_url']))) {
1252 $_POST['lf_url'] = '?' . smallHash($linkdate . $id);
1253 }
1251 $url = whitelist_protocols(trim($_POST['lf_url']), $conf->get('security.allowed_protocols')); 1254 $url = whitelist_protocols(trim($_POST['lf_url']), $conf->get('security.allowed_protocols'));
1252 1255
1253 $link = array( 1256 $link = array(