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

(-)a/members/members-home.pl (-3 / +7 lines)
Lines 33-39 my $branch = $query->param('branchcode'); Link Here
33
33
34
$branch = q{} unless defined $branch;
34
$branch = q{} unless defined $branch;
35
35
36
my ($template, $loggedinuser, $cookie)
36
my ($template, $loggedinuser, $cookie, $flags)
37
    = get_template_and_user({template_name => "members/member.tmpl",
37
    = get_template_and_user({template_name => "members/member.tmpl",
38
                 query => $query,
38
                 query => $query,
39
                 type => "intranet",
39
                 type => "intranet",
Lines 78-84 else { Link Here
78
78
79
79
80
my $pending_borrower_modifications =
80
my $pending_borrower_modifications =
81
  Koha::Borrower::Modifications->GetPendingModificationsCount( $branch );
81
  Koha::Borrower::Modifications->GetPendingModificationsCount(
82
    C4::Context->preference("IndependentBranches")
83
      && !$flags->{'superlibrarian'}
84
    ? C4::Context->userenv()->{'branch'}
85
    : undef
86
  );
82
87
83
$template->param( 
88
$template->param( 
84
        "AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1",
89
        "AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1",
85
- 

Return to bug 12346