projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber
[koha.git]
/
members
/
boraccount.pl
diff --git
a/members/boraccount.pl
b/members/boraccount.pl
index
48e2620
..
255b1ff
100755
(executable)
--- a/
members/boraccount.pl
+++ b/
members/boraccount.pl
@@
-92,7
+92,7
@@
foreach my $accountline ( @{$accts}) {
$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
-my ($picture, $dberror) = GetPatronImage($data->{'
card
number'});
+my ($picture, $dberror) = GetPatronImage($data->{'
borrower
number'});
$template->param( picture => 1 ) if $picture;
if (C4::Context->preference('ExtendedPatronAttributes')) {
$template->param( picture => 1 ) if $picture;
if (C4::Context->preference('ExtendedPatronAttributes')) {