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

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

Return to bug 34731