| 
      
            Lines 196-203
          sub borrower_add_additional_fields {
      
      
        Link Here
      
     | 
  
        
          | 196 | 
                  my $patron_categories = Koha::Patron::Categories->search_limited({ category_type => 'A' }, {order_by => ['categorycode']}); | 
          196 | 
                  my $patron_categories = Koha::Patron::Categories->search_limited({ category_type => 'A' }, {order_by => ['categorycode']}); | 
        
        
          | 197 | 
                  $template->param( 'CATCODE_MULTI' => 1) if $patron_categories->count > 1;  | 
          197 | 
                  $template->param( 'CATCODE_MULTI' => 1) if $patron_categories->count > 1;  | 
        
        
          | 198 | 
                  $template->param( 'catcode' => $patron_categories->next->categorycode )  if $patron_categories->count == 1;  | 
          198 | 
                  $template->param( 'catcode' => $patron_categories->next->categorycode )  if $patron_categories->count == 1;  | 
        
            
              | 199 | 
                  } elsif ( $b_ref->{category_type} eq 'A' || $b_ref->{category_type} eq 'I' ) { | 
               | 
               | 
            
            
              | 200 | 
                      $b_ref->{adultborrower} = 1; | 
            
        
          | 201 | 
              }  | 
          199 | 
              }  | 
        
        
          | 202 | 
           | 
          200 | 
           | 
        
        
          | 203 | 
              if (C4::Context->preference('ExtendedPatronAttributes')) { | 
          201 | 
              if (C4::Context->preference('ExtendedPatronAttributes')) { | 
        
            
              | 204 | 
              -   | 
               | 
               |