X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..3a514e232443be05939c0ad98f5f2b48a6637b56:/bookmarks.php diff --git a/bookmarks.php b/bookmarks.php index cc5eba4..d264531 100644 --- a/bookmarks.php +++ b/bookmarks.php @@ -1,7 +1,6 @@ bookmarkExists($address, $currentUserID)) { $bookmark =& $bookmarkservice->getBookmarkByAddress($address); header('Location: '. createURL('edit', $bookmark['bId'])); exit(); + // If it's new, save it } else { $title = trim($_POST['title']); @@ -113,11 +114,6 @@ if ($loggedon && isset($_POST['submitted'])) { $tplVars['msg'] = ''; } else { $tplVars['msg'] = T_('Bookmark saved'); - // Redirection option - if ($GLOBALS['useredir']) { - $address = $GLOBALS['url_redir'] . $address; - } - header('Location: '. $address); } } else { $tplVars['error'] = T_('There was an error saving your bookmark. Please try again or contact the administrator.'); @@ -225,4 +221,3 @@ if ($usecache && $endcache) { // Cache output if existing copy has expired $cacheservice->End($hash); } -?>