Bug 14297: (QA followup) Remove unnecessary line
[koha.git] / C4 / HoldsQueue.pm
index bae6f82..08f6307 100755 (executable)
@@ -492,7 +492,6 @@ sub MapItemsToHoldRequests {
                     my $holding_branch_items = $items_by_branch{$branch}
                       or next;
 
-                    $holdingbranch ||= $branch;
                     foreach my $item (@$holding_branch_items) {
                         next if ( $item->{holdallowed} == 1 && $item->{homebranch} ne $request->{borrowerbranch} );