adding LibraryName variable in the template

This commit is contained in:
tipaul 2004-05-10 09:23:32 +00:00
parent f2b3acaf7d
commit a21293a475
1 changed files with 5 additions and 2 deletions

View File

@ -124,9 +124,12 @@ sub get_template_and_user {
my ($borr, $flags) = getpatroninformation(undef, $borrowernumber);
my @bordat;
$bordat[0] = $borr;
$template->param(USER_INFO => \@bordat);
$template->param(USER_INFO => \@bordat,
);
}
$template->param(
LibraryName => C4::Context->preference("LibraryName"),
);
return ($template, $borrowernumber, $cookie);
}