projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 11334: (follow-up) fix errors in database update
[koha_fer]
/
members
/
mancredit.pl
diff --git
a/members/mancredit.pl
b/members/mancredit.pl
index
b011d1a
..
0ba52f3
100755
(executable)
--- a/
members/mancredit.pl
+++ b/
members/mancredit.pl
@@
-65,7
+65,7
@@
if ($add){
query => $input,
type => "intranet",
authnotrequired => 0,
query => $input,
type => "intranet",
authnotrequired => 0,
- flagsrequired =>
$flagsrequired
,
+ flagsrequired =>
{ borrowers => 1, updatecharges => 'remaining_permissions' }
,
debug => 1,
});
debug => 1,
});
@@
-77,7
+77,7
@@
if ($add){
}
$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')) {