[Koha-patches] [PATCH 04/12] MT3438 : faulty subscription-add branch selection
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Sat May 1 00:19:46 CEST 2010
branch selection could lead to two branches selected
this patch removes the faulty line
---
serials/subscription-add.pl | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl
index 242f7b4..f87dae5 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,
--
1.6.3.3
More information about the Koha-patches
mailing list