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

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

Return to bug 12446