Skip to content

Commit

Permalink
Item9777: load topic instead of a revision
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@9460 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Oct 1, 2010
1 parent b2157ae commit b1d276b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/lib/Foswiki/UI/Edit.pm
Expand Up @@ -201,9 +201,8 @@ sub init_edit {
$session->{request}
->param( -name => 'forcenewrevision', -value => '1' );
}

# Reload $topicObject with the right revision
$topicObject = $topicObject->load($revision);
# Load $topicObject with the right revision
$topicObject = Foswiki::Meta->load( $session, $web, $topic, $revision );
}

my $templateWeb = $web;
Expand Down

0 comments on commit b1d276b

Please sign in to comment.