From a21293a475a059802daa2cf974dc5f6e58772efb Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 10 May 2004 09:23:32 +0000 Subject: [PATCH] adding LibraryName variable in the template --- C4/Auth.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index da92e5c520..2b3634245d 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -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); } -- 2.39.5