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

(-)a/C4/Circulation.pm (-2 / +2 lines)
Lines 2345-2350 sub AddReturn { Link Here
2345
    }
2345
    }
2346
2346
2347
    # Record the fact that this book was returned.
2347
    # Record the fact that this book was returned.
2348
    my $categorycode = $patron_unblessed ? $patron_unblessed->{categorycode} : undef;
2348
    C4::Stats::UpdateStats({
2349
    C4::Stats::UpdateStats({
2349
        branch         => $branch,
2350
        branch         => $branch,
2350
        type           => $stat_type,
2351
        type           => $stat_type,
Lines 2353-2359 sub AddReturn { Link Here
2353
        location       => $item->location,
2354
        location       => $item->location,
2354
        borrowernumber => $borrowernumber,
2355
        borrowernumber => $borrowernumber,
2355
        ccode          => $item->ccode,
2356
        ccode          => $item->ccode,
2356
        ( $patron_unblessed ? ( categorycode   => $patron_unblessed->{categorycode} ) : () ),
2357
        categorycode   => $categorycode,
2357
    });
2358
    });
2358
2359
2359
    # Send a check-in slip. # NOTE: borrower may be undef. Do not try to send messages then.
2360
    # Send a check-in slip. # NOTE: borrower may be undef. Do not try to send messages then.
2360
- 

Return to bug 7021