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

(-)a/Koha/Calendar.pm (-1 / +2 lines)
Lines 310-315 sub prev_open_days { Link Here
310
310
311
    while ($self->is_holiday($base_date)) {
311
    while ($self->is_holiday($base_date)) {
312
        my $sub_next = $self->get_push_amt($base_date);
312
        my $sub_next = $self->get_push_amt($base_date);
313
        # Ensure we're subtracting when we need to be
314
        $sub_next = $sub_next > 0 ? 0 - $sub_next : $sub_next;
313
        $base_date->add(days => $sub_next);
315
        $base_date->add(days => $sub_next);
314
    }
316
    }
315
317
316
- 

Return to bug 15260