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

(-)a/C4/Letters.pm (-3 / +2 lines)
Lines 1010-1018 sub _is_duplicate { Link Here
1010
        WHERE message_transport_type = ?
1010
        WHERE message_transport_type = ?
1011
        AND borrowernumber = ?
1011
        AND borrowernumber = ?
1012
        AND letter_code = ?
1012
        AND letter_code = ?
1013
        AND CAST(time_queued AS date) = CAST(? AS date)
1013
        AND CAST(time_queued AS date) = CAST(NOW() AS date)
1014
        AND status="sent"
1014
        AND status="sent"
1015
    |, {}, $message->{message_transport_type}, $message->{borrowernumber}, $message->{letter_code}, $message->{time_queued} );
1015
    |, {}, $message->{message_transport_type}, $message->{borrowernumber}, $message->{letter_code} );
1016
    return $count;
1016
    return $count;
1017
}
1017
}
1018
1018
1019
- 

Return to bug 11209