View | Details | Raw Unified | Return to bug 12446
Collapse All | Expand All

(-)a/members/memberentry.pl (-1 / +3 lines)
Lines 672-677 my $no_categories = 1; Link Here
672
my $no_add;
672
my $no_add;
673
foreach my $category_type (qw(C A S P I X)) {
673
foreach my $category_type (qw(C A S P I X)) {
674
    my $patron_categories = Koha::Patron::Categories->search_with_library_limits({ category_type => $category_type }, {order_by => ['categorycode']});
674
    my $patron_categories = Koha::Patron::Categories->search_with_library_limits({ category_type => $category_type }, {order_by => ['categorycode']});
675
    my $categories_limits = { category_type => $category_type };
676
    $categories_limits->{canbeguarantee} = 1 if ($guarantor_id);
677
    my $patron_categories = Koha::Patron::Categories->search_with_library_limits( $categories_limits, {order_by => ['categorycode']} );
675
    $no_categories = 0 if $patron_categories->count > 0;
678
    $no_categories = 0 if $patron_categories->count > 0;
676
679
677
    my @categoryloop;
680
    my @categoryloop;
678
- 

Return to bug 12446