From 5d929ec8e0b9bbee267c2eaa1837ce1910d08420 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 19 Aug 2011 19:16:45 +0200 Subject: Fix bug #3388219: Incorrect URL when cancelling tag2tag-actions --- www/tag2tagadd.php | 2 +- www/tag2tagdelete.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'www') 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()); -- cgit v1.2.3