@@ -, +, @@ --- opac/opac-reserve.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/opac/opac-reserve.pl +++ a/opac/opac-reserve.pl @@ -306,7 +306,7 @@ if ( $query->param('place_reserve') ) { my $noreserves = 0; my $maxoutstanding = C4::Context->preference("maxoutstanding"); $template->param( noreserve => 1 ) unless $maxoutstanding; -my $amountoutstanding = GetMemberAccountRecords($borrowernumber); +my ( $amountoutstanding ) = GetMemberAccountRecords($borrowernumber); if ( $amountoutstanding && ($amountoutstanding > $maxoutstanding) ) { my $amount = sprintf "%.02f", $amountoutstanding; $template->param( message => 1 ); --