Bug 7220 - Add IDs to check-in message dialogs to facilitate CSS customization
[koha.git] / opac / opac-readingrecord.pl
index c9d5819..00a91db 100755 (executable)
@@ -45,7 +45,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
 # get borrower information ....
 my ( $borr ) = GetMemberDetails( $borrowernumber );
 
-$template->param($borr);
+$template->param(%{$borr});
 
 my $itemtypes = GetItemTypes();
 
@@ -74,9 +74,6 @@ else {
 
 my ( $issues ) = GetAllIssues( $borrowernumber, $order, $limit );
 
-my @bordat;
-$bordat[0] = $borr;
-$template->param( BORROWER_INFO => \@bordat );
 
 my @loop_reading;