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

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

Return to bug 24377