Update WikiPage to use the right style template.

This commit is contained in:
Colin Kuskie 2011-08-01 16:05:44 -07:00
parent 4ac894d981
commit 469250fd76

View file

@ -207,7 +207,7 @@ sub getEditTemplate {
thumbnailSize => $wiki->thumbnailSize,
});
my $template = WebGUI::Asset->newById( $session, $wiki->pageEditTemplateId );
$template->style( $wiki->styleTemplateId );
$template->style( $wiki->getStyleTemplateId );
$template->setParam( %$var );
return $template;
}