Lines 264-270
if ( $borr->{debarred} && ($borr->{debarred} eq 1) ) {
Link Here
|
264 |
|
264 |
|
265 |
my @reserves = GetReservesFromBorrowernumber( $borrowernumber ); |
265 |
my @reserves = GetReservesFromBorrowernumber( $borrowernumber ); |
266 |
$template->param( RESERVES => \@reserves ); |
266 |
$template->param( RESERVES => \@reserves ); |
267 |
if ( scalar(@reserves) >= $MAXIMUM_NUMBER_OF_RESERVES ) { |
267 |
if ( $MAXIMUM_NUMBER_OF_RESERVES && scalar(@reserves) >= $MAXIMUM_NUMBER_OF_RESERVES ) { |
268 |
$template->param( message => 1 ); |
268 |
$template->param( message => 1 ); |
269 |
$noreserves = 1; |
269 |
$noreserves = 1; |
270 |
$template->param( too_many_reserves => scalar(@reserves)); |
270 |
$template->param( too_many_reserves => scalar(@reserves)); |
271 |
- |
|
|