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

(-)a/members/deletemem.pl (-2 / +1 lines)
Lines 104-110 if ( $op eq 'delete_confirm' or $countissues > 0 or $charges or $is_guarantor ) Link Here
104
        $template->param(ItemsOnHold => $countholds);
104
        $template->param(ItemsOnHold => $countholds);
105
    }
105
    }
106
    # This is silly written but reflect the same conditions as above
106
    # This is silly written but reflect the same conditions as above
107
    if ( not $countissues > 0 and not $charges and not $is_guarantor ) {
107
    if ( not $countissues > 0 and not $charges > 0 and not $is_guarantor ) {
108
        $template->param(
108
        $template->param(
109
            op         => 'delete_confirm',
109
            op         => 'delete_confirm',
110
            csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $input->cookie('CGISESSID') }),
110
            csrf_token => Koha::Token->new->generate_csrf({ session_id => scalar $input->cookie('CGISESSID') }),
111
- 

Return to bug 23822