Bug 7060 Followup: AddReturn needs GetMemberDetails
In my haste, I overlooked circ/returns.pl's need for borrower flags. This patch changes back the call in AddReturn from GetMember to GetMemberDetails Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
769acee41a
commit
c5bc35b694
1 changed files with 1 additions and 1 deletions
|
@ -1525,7 +1525,7 @@ sub AddReturn {
|
|||
my $issue = GetItemIssue($itemnumber);
|
||||
# warn Dumper($iteminformation);
|
||||
if ($issue and $issue->{borrowernumber}) {
|
||||
$borrower = C4::Members::GetMember( borrowernumber => $issue->{borrowernumber})
|
||||
$borrower = C4::Members::GetMemberDetails($issue->{borrowernumber})
|
||||
or die "Data inconsistency: barcode $barcode (itemnumber:$itemnumber) claims to be issued to non-existant borrowernumber '$issue->{borrowernumber}'\n"
|
||||
. Dumper($issue) . "\n";
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue