adding LibraryName variable in the template
This commit is contained in:
parent
f2b3acaf7d
commit
a21293a475
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue