diff --git a/members/deletemem.pl b/members/deletemem.pl index 3d8712ede7..4cad4117ba 100755 --- a/members/deletemem.pl +++ b/members/deletemem.pl @@ -101,7 +101,7 @@ if ( $op eq 'delete_confirm' or $countissues > 0 or $charges or $is_guarantor ) } # This is silly written but reflect the same conditions as above - if ( not $countissues > 0 and not $charges and not $is_guarantor ) { + if ( not $countissues > 0 and not $charges > 0 and not $is_guarantor ) { $template->param( op => 'delete_confirm', csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $input->cookie('CGISESSID') }),