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

(-)a/C4/Overdues.pm (-2 / +1 lines)
Lines 683-689 sub GetBranchcodesWithOverdueRules { Link Here
683
        WHERE delay1 IS NOT NULL
683
        WHERE delay1 IS NOT NULL
684
        ORDER BY branchcode
684
        ORDER BY branchcode
685
    |);
685
    |);
686
    if ( $branchcodes->[0] eq '' ) {
686
    if ( defined $branchcodes->[0] && $branchcodes->[0] eq '' ) {
687
        # If a default rule exists, all branches should be returned
687
        # If a default rule exists, all branches should be returned
688
        return Koha::Libraries->search({}, { order_by => 'branchname' })->get_column('branchcode');
688
        return Koha::Libraries->search({}, { order_by => 'branchname' })->get_column('branchcode');
689
    }
689
    }
690
- 

Return to bug 36128