@@ -, +, @@ - Log in at Library A - Place hold on item at Library A, for pickup at Library A - Check item in at Library A - Click "Confirm hold" - Set library to Library B - Check item in again (try with both the box on reutrns.pl and the box in the header) - Click "Confirm hold and transfer" - get error: Can't call method "biblio" on an undefined value at /kohadevbox/koha/circ/returns.pl line 147 - apply patch - repeat - success! - confirm trappings of holds works as normally otherwise too --- circ/returns.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/circ/returns.pl +++ a/circ/returns.pl @@ -347,6 +347,7 @@ if ($barcode) { } $template->param( inputloop => \@inputloop ); + my $found = 0; my $waiting = 0; my $reserved = 0; @@ -427,11 +428,9 @@ if ( $messages->{'ResFound'}) { if ( $messages->{'transfert'} ) { $template->param( itemtitle => $biblio->title, - itemnumber => $item->itemnumber, itembiblionumber => $biblio->biblionumber, iteminfo => $biblio->author, diffbranch => 1, - itemnumber => $itemnumber, ); } } @@ -458,7 +457,6 @@ if ( $messages->{'ResFound'}) { patron => $patron, barcode => $barcode, destbranch => $reserve->{'branchcode'}, - itemnumber => $reserve->{'itemnumber'}, reservenotes => $reserve->{'reservenotes'}, reserve_id => $reserve->{reserve_id}, bormessagepref => $holdmsgpreferences->{'transports'}, --