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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 2987-2993 sub AddRenewal { Link Here
2987
        }
2987
        }
2988
2988
2989
        unless ( C4::Context->interface eq 'opac' ) { #if from opac we are obeying OpacRenewalBranch as calculated in opac-renew.pl
2989
        unless ( C4::Context->interface eq 'opac' ) { #if from opac we are obeying OpacRenewalBranch as calculated in opac-renew.pl
2990
            $branch = C4::Context->userenv ? C4::Context->userenv->{branch} : $branch;
2990
            $branch = ( C4::Context->userenv && defined C4::Context->userenv->{branch} ) ? C4::Context->userenv->{branch} : $branch;
2991
        }
2991
        }
2992
2992
2993
        # Add the renewal to stats
2993
        # Add the renewal to stats
2994
- 

Return to bug 24377