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

(-)a/C4/Search.pm (-1 / +1 lines)
Lines 2090-2095 sub searchResults { Link Here
2090
            my $userenv = C4::Context->userenv;
2090
            my $userenv = C4::Context->userenv;
2091
            if ( $item->{onloan}
2091
            if ( $item->{onloan}
2092
                && $userenv
2092
                && $userenv
2093
                && $userenv->{number}
2093
                && !( Koha::Patrons->find($userenv->{number})->category->hidelostitems && $item->{itemlost} ) )
2094
                && !( Koha::Patrons->find($userenv->{number})->category->hidelostitems && $item->{itemlost} ) )
2094
            {
2095
            {
2095
                $onloan_count++;
2096
                $onloan_count++;
2096
- 

Return to bug 17764