Permalink
Browse files

Completely specify GetMember package

  • Loading branch information...
1 parent e12ff40 commit 2ae5cc02c506856435327ccfe9181e1ec8ac2f90 @ctfliblime ctfliblime committed Aug 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 C4/Auth.pm
View
@@ -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});

0 comments on commit 2ae5cc0

Please sign in to comment.