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

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

Return to bug 9811