From 92b076f0df51ae23cb4eaf1d0db0a26ce34f6298 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Sat, 1 May 2010 00:19:46 +0200 Subject: [PATCH] MT3438 : faulty subscription-add branch selection branch selection could lead to two branches selected this patch removes the faulty line Signed-off-by: Galen Charlton --- serials/subscription-add.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index 242f7b41f1..f87dae5b01 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -115,7 +115,6 @@ my $branches = GetBranches($onlymine); my $branchloop; for my $thisbranch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %{$branches}) { my $selected = 0; - $selected = 1 if ($thisbranch eq C4::Context->userenv->{'branch'}); $selected = 1 if (defined($subs) && $thisbranch eq $subs->{'branchcode'}); push @{$branchloop}, { value => $thisbranch, -- 2.39.5