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:
Jonathan Druart 2016-08-23 14:17:53 +01:00 committed by Kyle M Hall
parent e67fc1806c
commit 931ed0ec9b
2 changed files with 4 additions and 0 deletions

View file

@ -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,

View file

@ -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,