Navigation Menu

Skip to content

Commit

Permalink
Item11325: Don't duplicate topicinfo in repRev
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@13290 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Dec 3, 2011
1 parent 4723c7c commit d28d74f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/lib/Foswiki/UI/Edit.pm
Expand Up @@ -373,7 +373,9 @@ sub init_edit {
my $basemeta = Foswiki::Meta->load( $session, $web, $topic );

# No need to check permissions; we are admin if we got here.
$topicObject->text( $basemeta->getEmbeddedStoreForm() );
my $rawText = $basemeta->getEmbeddedStoreForm();
$rawText =~ s/^%META:TOPICINFO{.*?}%$//m;
$topicObject->text( $rawText );
$tmpl =~ s/\(edit\)/\(edit cmd=$adminCmd\)/go if $adminCmd;
}
else {
Expand Down

0 comments on commit d28d74f

Please sign in to comment.