View | Details | Raw Unified | Return to bug 27011
Collapse All | Expand All

(-)a/circ/returns.pl (-4 lines)
Lines 162-174 if ( $query->param('reserve_id') ) { Link Here
162
    my ( $messages, $nextreservinfo ) = GetOtherReserves($itemnumber);
162
    my ( $messages, $nextreservinfo ) = GetOtherReserves($itemnumber);
163
163
164
    my $patron = Koha::Patrons->find( $nextreservinfo );
164
    my $patron = Koha::Patrons->find( $nextreservinfo );
165
    my $name   = $patron ? $patron->surname . ", " . $patron->title . " " . $patron->firstname : '';
166
    if ( $messages->{'transfert'} ) {
165
    if ( $messages->{'transfert'} ) {
167
        $template->param(
166
        $template->param(
168
            itemtitle      => $biblio->title,
167
            itemtitle      => $biblio->title,
169
            itembiblionumber => $biblio->biblionumber,
168
            itembiblionumber => $biblio->biblionumber,
170
            iteminfo       => $biblio->author,
169
            iteminfo       => $biblio->author,
171
            name           => $name,
172
            patron         => $patron,
170
            patron         => $patron,
173
            diffbranch     => 1,
171
            diffbranch     => 1,
174
        );
172
        );
Lines 400-406 if ( $messages->{'WrongTransfer'} and not $messages->{'WasTransfered'}) { Link Here
400
    my $reserve    = $messages->{'ResFound'};
398
    my $reserve    = $messages->{'ResFound'};
401
    if ( $reserve ) {
399
    if ( $reserve ) {
402
        my $patron = Koha::Patrons->find( $reserve->{'borrowernumber'} );
400
        my $patron = Koha::Patrons->find( $reserve->{'borrowernumber'} );
403
        my $name = $patron->surname . ", " . $patron->title . " " . $patron->firstname;
404
        $template->param(
401
        $template->param(
405
            patron => $patron,
402
            patron => $patron,
406
        );
403
        );
407
- 

Return to bug 27011