View | Details | Raw Unified | Return to bug 9811
Collapse All | Expand All

(-)a/members/members-home.pl (-3 / +5 lines)
Lines 56-65 if ( C4::Branch::onlymine ) { Link Here
56
    }
56
    }
57
} else {
57
} else {
58
    foreach (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %{$branches}) {
58
    foreach (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %{$branches}) {
59
        my $selected = 0;
60
        $selected = 1 if $branch and $branch eq $_;
59
        push @branchloop, {
61
        push @branchloop, {
60
            value      => $_,
62
            value => $_,
61
            selected   => ($branches->{$_}->{branchcode} eq $branch),
63
            branchcode => $_,
62
            branchname => $branches->{$_}->{branchname},
64
            branchname => $branches->{$_}->{branchname},
65
            selected => $selected
63
        };
66
        };
64
    }
67
    }
65
}
68
}
66
- 

Return to bug 9811