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

(-)a/members/memberentry.pl (-2 / +3 lines)
Lines 673-679 my @typeloop; Link Here
673
my $no_categories = 1;
673
my $no_categories = 1;
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 $categories_limits = { category_type => $category_type };
677
    $categories_limits->{canbeguarantee} = 1 if ($guarantor_id);
678
    my $patron_categories = Koha::Patron::Categories->search_with_library_limits( $categories_limits, {order_by => ['categorycode']} );
677
    $no_categories = 0 if $patron_categories->count > 0;
679
    $no_categories = 0 if $patron_categories->count > 0;
678
680
679
    my @categoryloop;
681
    my @categoryloop;
680
- 

Return to bug 12446