@@ -, +, @@ => All tests should still pass --- members/memberentry.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/members/memberentry.pl +++ a/members/memberentry.pl @@ -671,7 +671,7 @@ foreach my $category_type (qw(C A S P I X)) { my $patron_categories = Koha::Patron::Categories->search_with_library_limits({ category_type => $category_type }, {order_by => ['categorycode']}); my $categories_limits = { category_type => $category_type }; $categories_limits->{canbeguarantee} = 1 if ($guarantor_id); - my $patron_categories = Koha::Patron::Categories->search_with_library_limits( $categories_limits, {order_by => ['categorycode']} ); + $patron_categories = Koha::Patron::Categories->search_with_library_limits( $categories_limits, {order_by => ['categorycode']} ); $no_categories = 0 if $patron_categories->count > 0; my @categoryloop; @@ -819,7 +819,7 @@ if (C4::Context->preference('EnhancedMessagingPreferences')) { $template->param( borrower_data => \%data ); $template->param( "show_guarantor" => $categorycode ? Koha::Patron::Categories->find($categorycode)->canbeguarantee : 1); # associate with step to know where you are -$debug and warn "memberentry step: $step"; +my $debug and warn "memberentry step: $step"; $template->param( "step_$step" => 1) if $step; # associate with step to know where u are $template->param( step => $step ) if $step; # associate with step to know where u are --