From 931ed0ec9bbad4baa18547d361e2bed52140b637 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 Signed-off-by: Kyle M Hall --- 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 605efb7b49..de1ca85bc4 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 6b1d98e01e..3eac79f656 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.11.4.GIT