Skip to content

Commit

Permalink
Item9777: unload object before reloading
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@9463 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Oct 1, 2010
1 parent b1d276b commit 354fa45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/Foswiki/UI/Edit.pm
Expand Up @@ -202,6 +202,8 @@ sub init_edit {
->param( -name => 'forcenewrevision', -value => '1' );
}
# Load $topicObject with the right revision
$topicObject->unload();
$topicObject->finish();
$topicObject = Foswiki::Meta->load( $session, $web, $topic, $revision );
}

Expand Down

0 comments on commit 354fa45

Please sign in to comment.