aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-08-19 19:16:45 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-09-05 18:51:36 +0200
commit5d929ec8e0b9bbee267c2eaa1837ce1910d08420 (patch)
treed92bafaa5d01832819cdf845d5d5c0fd2a2754ef /www
parentadf2655b2342e91c952c71364f91f6cb2e2d4016 (diff)
downloadsemanticscuttle-5d929ec8e0b9bbee267c2eaa1837ce1910d08420.tar.gz
semanticscuttle-5d929ec8e0b9bbee267c2eaa1837ce1910d08420.tar.bz2
Fix bug #3388219: Incorrect URL when cancelling tag2tag-actions
Diffstat (limited to 'www')
-rw-r--r--www/tag2tagadd.php2
-rw-r--r--www/tag2tagdelete.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/tag2tagadd.php b/www/tag2tagadd.php
index d660451..3f4af8c 100644
--- a/www/tag2tagadd.php
+++ b/www/tag2tagadd.php
@@ -59,7 +59,7 @@ if (POST_CONFIRM != '') {
exit();
}
} elseif (POST_CANCEL) {
- header('Location: '. createURL('bookmarks', $currentUser->getUsername() .'/'. $tags));
+ header('Location: '. createURL('bookmarks', $currentUser->getUsername() .'/'. $tag1));
}
$tplVars['links'] = $tag2tagservice->getLinks($currentUser->getId());
diff --git a/www/tag2tagdelete.php b/www/tag2tagdelete.php
index c1e52cd..06fea98 100644
--- a/www/tag2tagdelete.php
+++ b/www/tag2tagdelete.php
@@ -71,7 +71,7 @@ if (POST_CONFIRM) {
exit();
}
} elseif (POST_CANCEL) {
- header('Location: '. createURL('bookmarks', $currentUser->getUsername() .'/'. $tags));
+ header('Location: '. createURL('bookmarks', $currentUser->getUsername() .'/'. $tag1));
}
$tplVars['links'] = $tag2tagservice->getLinks($currentUser->getId());