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

(-)a/C4/Circulation.pm (-3 lines)
Lines 2745-2752 already renewed the loan. $error will contain the reason the renewal can not pro Link Here
2745
sub CanBookBeRenewed {
2745
sub CanBookBeRenewed {
2746
    my ( $borrowernumber, $itemnumber, $override_limit, $cron ) = @_;
2746
    my ( $borrowernumber, $itemnumber, $override_limit, $cron ) = @_;
2747
2747
2748
    my $dbh    = C4::Context->dbh;
2749
    my $renews = 1;
2750
    my $auto_renew = "no";
2748
    my $auto_renew = "no";
2751
2749
2752
    my $item      = Koha::Items->find($itemnumber)      or return ( 0, 'no_item' );
2750
    my $item      = Koha::Items->find($itemnumber)      or return ( 0, 'no_item' );
2753
- 

Return to bug 27032