-
+ [% IF patron %][%# From the members module %]
+ [% object | html %] ([% INCLUDE 'patron-title.inc' patron => patron %] )
+ [% ELSE %]
+
+ [% END %]
@@ -276,7 +280,7 @@
- [% IF ( circulation ) %]
+ [% IF patron %]
[% INCLUDE 'circ-menu.inc' %]
[% ELSE %]
[% IF ( CATALOGUING ) %]
--- a/tools/viewlog.pl
+++ a/tools/viewlog.pl
@@ -73,10 +73,6 @@ if ( $src eq 'circ' ) {
use C4::Members::Attributes qw(GetBorrowerAttributes);
my $borrowernumber = $object;
my $patron = Koha::Patrons->find( $borrowernumber );
- my $circ_info = 1;
- unless ( $patron ) {
- $circ_info = 0;
- }
if ( C4::Context->preference('ExtendedPatronAttributes') ) {
my $attributes = GetBorrowerAttributes( $borrowernumber );
$template->param(
@@ -87,7 +83,6 @@ if ( $src eq 'circ' ) {
$template->param(
patron => $patron,
- circulation => $circ_info,
);
}
--