Skip to content
Permalink
Browse files

Item11325: Don't duplicate topicinfo in repRev

git-svn-id: http://svn.foswiki.org/branches/Release01x01@13290 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information...
GeorgeClark GeorgeClark
GeorgeClark authored and GeorgeClark committed Dec 3, 2011
1 parent 4723c7c commit d28d74f1cf73251a7803619645fe6e883055b96f
Showing with 3 additions and 1 deletion.
  1. +3 −1 core/lib/Foswiki/UI/Edit.pm
@@ -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 {

0 comments on commit d28d74f

Please sign in to comment.
You can’t perform that action at this time.