Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
$template_name = 'catalogue/advsearch.tmpl';
$template_type = 'advsearch';
}
-if (C4::Context->preference("marcflavour") eq "UNIMARC" ) {
- $template->param('UNIMARC' => 1);
-}
# load the template
($template, $borrowernumber, $cookie) = get_template_and_user({
template_name => $template_name,
flagsrequired => { catalogue => 1 },
}
);
+if (C4::Context->preference("marcflavour") eq "UNIMARC" ) {
+ $template->param('UNIMARC' => 1);
+}
=head1 BUGS and FIXMEs