Skip to content
Permalink
Browse files

Item11325: Don't duplicate topicinfo in repRev

git-svn-id: http://svn.foswiki.org/trunk@13292 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information...
GeorgeClark GeorgeClark
GeorgeClark authored and GeorgeClark committed Dec 3, 2011
1 parent 8af27c0 commit 3da7c94a4fb56bbbfc09baf0c9a991e17f63d673
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 3da7c94

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