Skip to content

Commit

Permalink
Item13381: fixed redirecting to the right place...
Browse files Browse the repository at this point in the history
... after deleting a topic
  • Loading branch information
MichaelDaum committed Apr 23, 2015
1 parent 4296db1 commit 7964c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/Foswiki/UI/Rename.pm
Expand Up @@ -317,10 +317,10 @@ sub _renameTopicOrAttachment {
my ( $parentWeb, $parentTopic );
if ( $parent && defined $parent->{name} ) {
( $parentWeb, $parentTopic ) =
$session->normalizeWebTopicName( '', $parent->{name} );
$session->normalizeWebTopicName( $oldWeb, $parent->{name} );
}
if ( $parentTopic
&& !( $parentWeb eq $oldTopic && $parentTopic eq $oldTopic )
&& !( $parentWeb eq $oldWeb && $parentTopic eq $oldTopic )
&& $session->topicExists( $parentWeb, $parentTopic ) )
{
$new_url =
Expand Down

0 comments on commit 7964c8d

Please sign in to comment.