Bug 21222: (bug 20226 follow-up) Fix patron creation
[koha.git] / members / readingrec.pl
index 7a63201..4ce115e 100755 (executable)
@@ -92,13 +92,6 @@ if ( $op eq 'export_barcodes' ) {
     }
 }
 
-my $category = $patron->category;
-if ( $category->category_type eq 'C') {
-    my $patron_categories = Koha::Patron::Categories->search_limited({ category_type => 'A' }, {order_by => ['categorycode']});
-    $template->param( 'CATCODE_MULTI' => 1) if $patron_categories->count > 1;
-    $template->param( 'catcode' => $patron_categories->next->categorycode )  if $patron_categories->count == 1;
-}
-
 if (! $limit){
        $limit = 'full';
 }