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

(-)a/C4/Circulation.pm (-1 / +4 lines)
Lines 3911-3916 sub CalcDateDue { Link Here
3911
    my @close         = undef;
3911
    my @close         = undef;
3912
    my $tomorrowhours = Koha::Library::Hours->find( { library_id => $branch, day => $tomorrow_dayofweek } )
3912
    my $tomorrowhours = Koha::Library::Hours->find( { library_id => $branch, day => $tomorrow_dayofweek } )
3913
        ;    # get open hours of next day
3913
        ;    # get open hours of next day
3914
3915
    # Defend against missing library hours definitions
3916
    if ( !$todayhours || !$tomorrowhours ) { $considerlibraryhours = 'ignore' }
3917
3914
    my @open = undef;
3918
    my @open = undef;
3915
    if ( $considerlibraryhours ne 'ignore' and $todayhours->close_time and $tomorrowhours->open_time ) {
3919
    if ( $considerlibraryhours ne 'ignore' and $todayhours->close_time and $tomorrowhours->open_time ) {
3916
        @close             = split( ":", $todayhours->close_time );
3920
        @close             = split( ":", $todayhours->close_time );
3917
- 

Return to bug 6796