aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-08-19 19:16:45 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-08-19 19:16:45 +0200
commit9bfdcd3c2a371507df7b6cea6509ab45d7f02424 (patch)
treef5e2c767d30e7465e774bd9622a41109dd6e3226
parent4eedf216dca76b54cb960e52c2c81fc98267ab04 (diff)
downloadsemanticscuttle-9bfdcd3c2a371507df7b6cea6509ab45d7f02424.tar.gz
semanticscuttle-9bfdcd3c2a371507df7b6cea6509ab45d7f02424.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());