aboutsummaryrefslogtreecommitdiff
path: root/tag2tagdelete.php
diff options
context:
space:
mode:
Diffstat (limited to 'tag2tagdelete.php')
-rw-r--r--tag2tagdelete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag2tagdelete.php b/tag2tagdelete.php
index 7f1ac8f..f0ae6ed 100644
--- a/tag2tagdelete.php
+++ b/tag2tagdelete.php
@@ -41,7 +41,7 @@ if ($_POST['confirm']) {
$newTag = $_POST['tag2'];
if ($tag2tagservice->removeLinkedTags($_POST['tag1'], $_POST['tag2'], $linkType, $userservice->getCurrentUserId())) {
$tplVars['msg'] = T_('Tag link deleted');
- header('Location: '. createURL('bookmarks', $logged_on_user[$userservice->getFieldName('username')]));
+ header('Location: '. createURL('bookmarks', $logged_on_user[$userservice->getFieldName('username')].'/'.$tag));
} else {
$tplVars['error'] = T_('Failed to delete the link');
$templateservice->loadTemplate('error.500.tpl', $tplVars);