Remove code that sets the synopsis inside Wobject/www_view, since it is also done in processStyle.
This commit is contained in:
parent
01717433db
commit
bb26647734
2 changed files with 1 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
7.8.12
|
7.8.12
|
||||||
|
- fixed #11390: Meta description duplicated in asset Folder
|
||||||
|
|
||||||
7.8.11
|
7.8.11
|
||||||
- fixed #11362: Unable to checkout with ITransact plugin
|
- fixed #11362: Unable to checkout with ITransact plugin
|
||||||
|
|
|
||||||
|
|
@ -544,12 +544,6 @@ sub www_view {
|
||||||
$self->session->http->setLastModified($self->getContentLastModified);
|
$self->session->http->setLastModified($self->getContentLastModified);
|
||||||
$self->session->http->sendHeader;
|
$self->session->http->sendHeader;
|
||||||
##Have to dupe this code here because Wobject does not call SUPER.
|
##Have to dupe this code here because Wobject does not call SUPER.
|
||||||
if ($self->get('synopsis')) {
|
|
||||||
$self->session->style->setMeta({
|
|
||||||
name => 'Description',
|
|
||||||
content => $self->get('synopsis'),
|
|
||||||
});
|
|
||||||
}
|
|
||||||
$self->prepareView;
|
$self->prepareView;
|
||||||
my $style = $self->processStyle($self->getSeparator, { noHeadTags => 1 });
|
my $style = $self->processStyle($self->getSeparator, { noHeadTags => 1 });
|
||||||
my ($head, $foot) = split($self->getSeparator,$style);
|
my ($head, $foot) = split($self->getSeparator,$style);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue