Bug 16464: Add FIXME
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
e67fc1806c
commit
931ed0ec9b
2 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,8 @@ else {
|
|||
borrowernumber => $loggedinuser,
|
||||
pending => 1,
|
||||
});
|
||||
# FIXME looks like $available is not needed
|
||||
# If a patron is discharged he has a validated discharge available
|
||||
my $available = Koha::Patron::Discharge::count({
|
||||
borrowernumber => $loggedinuser,
|
||||
validated => 1,
|
||||
|
|
|
@ -99,6 +99,8 @@ if ($debar) {
|
|||
if ( $debar ne "9999-12-31" ) {
|
||||
$borr->{'userdebarreddate'} = $debar;
|
||||
}
|
||||
# FIXME looks like $available is not needed
|
||||
# If a patron is discharged he has a validated discharge available
|
||||
my $available = Koha::Patron::Discharge::count({
|
||||
borrowernumber => $borrowernumber,
|
||||
validated => 1,
|
||||
|
|
Loading…
Reference in a new issue