Bug 21222: (bug 20226 follow-up) Fix patron creation
[koha.git] / members / statistics.pl
index c268f0e..e63d221 100755 (executable)
@@ -32,6 +32,7 @@ use C4::Members::Statistics;
 use C4::Members::Attributes qw(GetBorrowerAttributes);
 use C4::Output;
 use Koha::Patrons;
+use Koha::Patron::Categories;
 
 my $input = new CGI;
 
@@ -84,10 +85,6 @@ if (C4::Context->preference('ExtendedPatronAttributes')) {
     );
 }
 
-$template->param( picture => 1 ) if $patron->image;
-
-$template->param( adultborrower => 1 ) if ( $category->category_type eq 'A' || $category->category_type eq 'I' );
-
 $template->param(
     patron             => $patron,
     statisticsview     => 1,