aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
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 82a6abb3..30223661 100644
--- a/index.php
+++ b/index.php
@@ -1568,7 +1568,7 @@ function renderPage()
1568 exit; 1568 exit;
1569 } 1569 }
1570 1570
1571 $returnurl = !empty($_POST['returnurl']) ? escape($_POST['returnurl']): '?'; 1571 $returnurl = !empty($_POST['returnurl']) ? $_POST['returnurl'] : '?';
1572 $location = generateLocation($returnurl, $_SERVER['HTTP_HOST'], array('addlink', 'post', 'edit_link')); 1572 $location = generateLocation($returnurl, $_SERVER['HTTP_HOST'], array('addlink', 'post', 'edit_link'));
1573 // Scroll to the link which has been edited. 1573 // Scroll to the link which has been edited.
1574 $location .= '#' . smallHash($_POST['lf_linkdate']); 1574 $location .= '#' . smallHash($_POST['lf_linkdate']);