Lines 775-781
$template->param(
Link Here
|
775 |
$guarantorid = $borrower_data->{'guarantorid'} || $guarantorid; |
775 |
$guarantorid = $borrower_data->{'guarantorid'} || $guarantorid; |
776 |
my $guarantor = $guarantorid ? Koha::Patrons->find( $guarantorid ) : undef; |
776 |
my $guarantor = $guarantorid ? Koha::Patrons->find( $guarantorid ) : undef; |
777 |
$template->param( |
777 |
$template->param( |
778 |
patron => $patron, # Used by address include templates now |
778 |
patron => $patron ? $patron : \%newdata, # Used by address include templates now |
779 |
nodouble => $nodouble, |
779 |
nodouble => $nodouble, |
780 |
borrowernumber => $borrowernumber, #register number |
780 |
borrowernumber => $borrowernumber, #register number |
781 |
guarantor => $guarantor, |
781 |
guarantor => $guarantor, |
782 |
- |
|
|