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

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

Return to bug 12446