Lines 74-82
if ( $src eq 'circ' ) {
Link Here
|
74 |
use C4::Members::Attributes qw(GetBorrowerAttributes); |
74 |
use C4::Members::Attributes qw(GetBorrowerAttributes); |
75 |
my $borrowernumber = $object; |
75 |
my $borrowernumber = $object; |
76 |
my $patron = Koha::Patrons->find( $borrowernumber ); |
76 |
my $patron = Koha::Patrons->find( $borrowernumber ); |
|
|
77 |
my $circ_info = 1; |
77 |
unless ( $patron ) { |
78 |
unless ( $patron ) { |
78 |
print $input->redirect("/cgi-bin/koha/circ/circulation.pl?borrowernumber=$borrowernumber"); |
79 |
$circ_info = 0; |
79 |
exit; |
|
|
80 |
} |
80 |
} |
81 |
if ( C4::Context->preference('ExtendedPatronAttributes') ) { |
81 |
if ( C4::Context->preference('ExtendedPatronAttributes') ) { |
82 |
my $attributes = GetBorrowerAttributes( $borrowernumber ); |
82 |
my $attributes = GetBorrowerAttributes( $borrowernumber ); |
Lines 88-94
if ( $src eq 'circ' ) {
Link Here
|
88 |
|
88 |
|
89 |
$template->param( |
89 |
$template->param( |
90 |
patron => $patron, |
90 |
patron => $patron, |
91 |
circulation => 1, |
91 |
circulation => $circ_info, |
92 |
); |
92 |
); |
93 |
} |
93 |
} |
94 |
|
94 |
|
95 |
- |
|
|