View | Details | Raw Unified | Return to bug 16464
Collapse All | Expand All

(-)a/opac/opac-discharge.pl (+2 lines)
Lines 92-97 else { Link Here
92
        borrowernumber => $loggedinuser,
92
        borrowernumber => $loggedinuser,
93
        pending        => 1,
93
        pending        => 1,
94
    });
94
    });
95
    # FIXME looks like $available is not needed
96
    # If a patron is discharged he has a validated discharge available
95
    my $available = Koha::Patron::Discharge::count({
97
    my $available = Koha::Patron::Discharge::count({
96
        borrowernumber => $loggedinuser,
98
        borrowernumber => $loggedinuser,
97
        validated      => 1,
99
        validated      => 1,
(-)a/opac/opac-user.pl (-1 / +2 lines)
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
- 

Return to bug 16464