Fix bug #3385724 part 2: cancelling tag edit broken

This commit is contained in:
Christian Weiske 2011-08-04 17:08:42 +02:00
parent 6b24f99048
commit 587674b355

View File

@ -67,7 +67,7 @@ if (POST_CONFIRM) {
$template = 'error.500.tpl'; $template = 'error.500.tpl';
} }
} elseif (POST_CANCEL) { } elseif (POST_CANCEL) {
header('Location: '. createURL('bookmarks', $currentUser->getUsername() .'/'. $tags)); header('Location: '. createURL('bookmarks', $currentUser->getUsername() .'/'. $tag));
} else { } else {
$tplVars['subtitle'] = T_('Rename Tag') .': '. $tag; $tplVars['subtitle'] = T_('Rename Tag') .': '. $tag;
$tplVars['formaction'] = $_SERVER['SCRIPT_NAME'] .'/'. $tag; $tplVars['formaction'] = $_SERVER['SCRIPT_NAME'] .'/'. $tag;