Skip to content

Commit

Permalink
Completely specify GetMember package
Browse files Browse the repository at this point in the history
  • Loading branch information
ctfliblime committed Aug 5, 2011
1 parent e12ff40 commit 2ae5cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C4/Auth.pm
Expand Up @@ -1628,7 +1628,7 @@ sub GetUserGroupBranches {
if (defined $flags and $flags->{superlibrarian}) {
@branches = keys %{C4::Branch::GetBranches()};
} else {
my $borrower = GetMember($userid, 'userid') or return undef;
my $borrower = C4::Members::GetMember($userid, 'userid') or return undef;
push @branches, $borrower->{branchcode};
my $categories = C4::Branch::GetBranchCategories($borrower->{branchcode}, $category);
push(@branches, map {@{C4::Branch::GetBranchesInCategory($_->{categorycode})}} @{$categories});
Expand Down

0 comments on commit 2ae5cc0

Please sign in to comment.