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

(-)a/members/deletemem.pl (-2 / +1 lines)
Lines 104-110 if (C4::Context->preference("IndependentBranches")) { Link Here
104
my $op = $input->param('op') || 'delete_confirm';
104
my $op = $input->param('op') || 'delete_confirm';
105
my $dbh = C4::Context->dbh;
105
my $dbh = C4::Context->dbh;
106
my $is_guarantor = $dbh->selectrow_array("SELECT COUNT(*) FROM borrowers WHERE guarantorid=?", undef, $member);
106
my $is_guarantor = $dbh->selectrow_array("SELECT COUNT(*) FROM borrowers WHERE guarantorid=?", undef, $member);
107
if ( $op eq 'delete_confirm' or $countissues > 0 or $flags->{'CHARGES'}  or $is_guarantor or $deletelocal == 0) {
107
if ( $op eq 'delete_confirm' or $countissues > 0 or $charges or $is_guarantor or $deletelocal == 0) {
108
108
109
    $template->param(
109
    $template->param(
110
        patron => $patron,
110
        patron => $patron,
111
- 

Return to bug 19933