Lines 99-104
if ($debar) {
Link Here
|
99 |
if ( $debar ne "9999-12-31" ) { |
99 |
if ( $debar ne "9999-12-31" ) { |
100 |
$borr->{'userdebarreddate'} = $debar; |
100 |
$borr->{'userdebarreddate'} = $debar; |
101 |
} |
101 |
} |
|
|
102 |
# FIXME looks like $available is not needed |
103 |
# If a patron is discharged he has a validated discharge available |
102 |
my $available = Koha::Patron::Discharge::count({ |
104 |
my $available = Koha::Patron::Discharge::count({ |
103 |
borrowernumber => $borrowernumber, |
105 |
borrowernumber => $borrowernumber, |
104 |
validated => 1, |
106 |
validated => 1, |
105 |
- |
|
|