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

(-)a/Koha/Patron/Password/Recovery.pm (-2 / +2 lines)
Lines 158-164 sub SendPasswordRecoveryEmail { Link Here
158
        }
158
        }
159
    );
159
    );
160
160
161
    my $num_letters_attempted = C4::Letters::SendQueuedMessages( { message_id => $message_id } ) if $message_id;
161
    my $num_letters_attempted = 0;
162
    $num_letters_attempted = C4::Letters::SendQueuedMessages( { message_id => $message_id } ) if $message_id;
162
163
163
    return ($num_letters_attempted > 0);
164
    return ($num_letters_attempted > 0);
164
}
165
}
165
- 

Return to bug 34731