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

(-)a/C4/Letters.pm (-1 / +1 lines)
Lines 1363-1369 sub _send_message_by_email { Link Here
1363
    }
1363
    }
1364
1364
1365
# if initial message address was empty, coming here means that a to address was found and
1365
# if initial message address was empty, coming here means that a to address was found and
1366
# queue should be updated; same if to address was overriden by create_message_headers
1366
# queue should be updated; same if to address was overriden by Koha::Email->create
1367
    _update_message_to_address( $message->{'message_id'}, $email->email->header('To') )
1367
    _update_message_to_address( $message->{'message_id'}, $email->email->header('To') )
1368
      if !$message->{to_address}
1368
      if !$message->{to_address}
1369
      || $message->{to_address} ne $email->email->header('To');
1369
      || $message->{to_address} ne $email->email->header('To');
(-)a/Koha/Library.pm (-3 lines)
Lines 105-112 sub smtp_server { Link Here
105
    else {
105
    else {
106
        # Getter
106
        # Getter
107
        if ( $library_smtp_server_rs ) {
107
        if ( $library_smtp_server_rs ) {
108
            # use Data::Printer colored => 1;
109
            # p($library_smtp_server_rs);
110
            return Koha::SMTP::Servers->find(
108
            return Koha::SMTP::Servers->find(
111
                $library_smtp_server_rs->smtp_server_id );
109
                $library_smtp_server_rs->smtp_server_id );
112
        }
110
        }
113
- 

Return to bug 22343