From 311ffd3b196aecf784ecf0810e879e12b2c4d525 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 23 Aug 2016 14:17:53 +0100 Subject: [PATCH] Bug 16464: Add FIXME Signed-off-by: Jonathan Druart --- opac/opac-discharge.pl | 2 ++ opac/opac-user.pl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/opac/opac-discharge.pl b/opac/opac-discharge.pl index 605efb7..de1ca85 100755 --- a/opac/opac-discharge.pl +++ b/opac/opac-discharge.pl @@ -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, diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 6b1d98e..3eac79f 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -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, -- 2.8.1