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

(-)a/circ/returns.pl (-2 / +1 lines)
Lines 179-186 if ( $query->param('reserve_id') && $op eq 'cud-affect_reserve') { Link Here
179
    # FIXME do we need to do this if we didn't take the cancel_reserve branch above?
179
    # FIXME do we need to do this if we didn't take the cancel_reserve branch above?
180
    my ( undef, $nextreservinfo, undef ) = CheckReserves($item);
180
    my ( undef, $nextreservinfo, undef ) = CheckReserves($item);
181
181
182
    my $patron = Koha::Patrons->find( $nextreservinfo->{'borrowernumber'} );
183
    if ( $userenv_branch ne $nextreservinfo->{'branchcode'} ) {
182
    if ( $userenv_branch ne $nextreservinfo->{'branchcode'} ) {
183
        my $patron = Koha::Patrons->find( $nextreservinfo->{'borrowernumber'} );
184
        $template->param(
184
        $template->param(
185
            itemtitle      => $biblio->title,
185
            itemtitle      => $biblio->title,
186
            itembiblionumber => $biblio->biblionumber,
186
            itembiblionumber => $biblio->biblionumber,
187
- 

Return to bug 37400