Fixing reference to CheckReserves (script was pointing to Circ2.pm instead of Reserves2)
[koha.git] / opac / opac-account.pl
index 68f2324..3216281 100755 (executable)
@@ -9,7 +9,9 @@ use CGI;
 use C4::Search;
 use C4::Circulation::Circ2;
 use C4::Auth;
+use C4::Interface::CGI::Output;
 use HTML::Template;
+use C4::Date;
 
 my $query = new CGI;
 my ($template, $borrowernumber, $cookie)
@@ -50,7 +52,9 @@ foreach my $row (@$accts) {
 }
 
 
-$template->param( ACCOUNT_LINES => $accts );
+$template->param( ACCOUNT_LINES => $accts,
+                            LibraryName => C4::Context->preference("LibraryName"),
+ );
 
 $template->param( total => $total );