diff options
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']); |