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 <gmcharlt@gmail.com>
This commit is contained in:
parent
208b835310
commit
92b076f0df
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue