fix for frank's problem
This commit is contained in:
parent
8ad1189b8c
commit
462c12c814
1 changed files with 2 additions and 1 deletions
|
|
@ -267,7 +267,8 @@ This method sets the tags from the head block parameter of the template into the
|
|||
sub prepare {
|
||||
my $self = shift;
|
||||
$self->{_prepared} = 1;
|
||||
my @sent = @{$self->session->stow->get("templateHeadersSent")};
|
||||
my $templateHeadersSent = $self->session->stow->get("templateHeadersSent") || [];
|
||||
my @sent = @{$templateHeadersSent};
|
||||
unless (isIn($self->getId, @sent)) { # don't send head block if we've already sent it for this template
|
||||
if ($self->session->style->sent) {
|
||||
$self->session->output->print($self->get("headBlock"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue