Lines 25-30
use C4::Circulation;
Link Here
|
25 |
use C4::Members; |
25 |
use C4::Members; |
26 |
use C4::Output; |
26 |
use C4::Output; |
27 |
use C4::Dates; |
27 |
use C4::Dates; |
|
|
28 |
use Koha::Borrowers; |
28 |
|
29 |
|
29 |
my $query = new CGI; |
30 |
my $query = new CGI; |
30 |
|
31 |
|
Lines 76-90
elsif ( $op eq "delete_record" ) {
Link Here
|
76 |
} |
77 |
} |
77 |
|
78 |
|
78 |
# get borrower privacy .... |
79 |
# get borrower privacy .... |
79 |
my $borrower = GetMemberDetails( $borrowernumber ); |
80 |
my $borrower = Koha::Borrowers->find( $borrowernumber );; |
80 |
|
81 |
|
81 |
$template->param( |
82 |
$template->param( |
82 |
'Ask_data' => 1, |
83 |
'Ask_data' => 1, |
83 |
'privacy' . $borrower->{'privacy'} => 1, |
84 |
'privacy' . $borrower->privacy() => 1, |
84 |
'privacyview' => 1, |
85 |
'privacyview' => 1, |
85 |
'borrower' => $borrower, |
86 |
'borrower' => $borrower, |
86 |
'surname' => $borrower->{surname}, |
87 |
'surname' => $borrower->{surname}, |
87 |
'firstname' => $borrower->{firstname}, |
88 |
'firstname' => $borrower->{firstname}, |
88 |
); |
89 |
); |
89 |
|
90 |
|
90 |
output_html_with_http_headers $query, $cookie, $template->output; |
91 |
output_html_with_http_headers $query, $cookie, $template->output; |
91 |
- |
|
|