summaryrefslogtreecommitdiff
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
parentadf2655b2342e91c952c71364f91f6cb2e2d4016 (diff)
downloadsemanticscuttle-5d929ec8e0b9bbee267c2eaa1837ce1910d08420.tar.gz
semanticscuttle-5d929ec8e0b9bbee267c2eaa1837ce1910d08420.tar.bz2
Fix bug #3388219: Incorrect URL when cancelling tag2tag-actions
-rw-r--r--doc/ChangeLog1
-rw-r--r--www/tag2tagadd.php2
-rw-r--r--www/tag2tagdelete.php2
3 files changed, 3 insertions, 2 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 0d3563c..7e3a064 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -8,6 +8,7 @@ ChangeLog for SemantiScuttle
- Fix bug: URLs were escaped too often in bookmark list
- Fix bug: Subtitle was not escaped
- Fix bug #3393951: Logo images missing on bookmark page
+- Fix bug #3388219: Incorrect URL when cancelling tag2tag-actions
0.98.3 - 2011-08-09
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());