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 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches