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

(-)a/Koha/Library/FloatLimits.pm (-3 / +6 lines)
Lines 234-241 sub lowest_ratio_library { Link Here
234
                $item->$BranchTransferLimitsType
234
                $item->$BranchTransferLimitsType
235
            );
235
            );
236
236
237
            $transfer_branch = Koha::Libraries->find( $candidate->{branchcode} ) if $allowed;
237
            if ($allowed) {
238
            last;
238
                $transfer_branch = Koha::Libraries->find( $candidate->{branchcode} );
239
                last;    # Found an allowed transfer, exit loop
240
            }
241
242
            # If not allowed, continue to next candidate
239
        } else {
243
        } else {
240
            $transfer_branch = Koha::Libraries->find( $candidate->{branchcode} );
244
            $transfer_branch = Koha::Libraries->find( $candidate->{branchcode} );
241
            last;
245
            last;
242
- 

Return to bug 28530