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

(-)a/misc/maintenance/borrowers-force-messaging-defaults.pl (-2 / +2 lines)
Lines 50-56 sub force_borrower_messaging_defaults { Link Here
50
    my $sql =
50
    my $sql =
51
q|SELECT DISTINCT bo.borrowernumber, bo.categorycode FROM borrowers bo
51
q|SELECT DISTINCT bo.borrowernumber, bo.categorycode FROM borrowers bo
52
LEFT JOIN borrower_message_preferences mp USING (borrowernumber)
52
LEFT JOIN borrower_message_preferences mp USING (borrowernumber)
53
WHERE 1|
53
WHERE 1|;
54
54
    if ( $since ) {
55
    if ( $since ) {
55
        $sql .= " AND bo.dateenrolled >= ?";
56
        $sql .= " AND bo.dateenrolled >= ?";
56
    }
57
    }
57
- 

Return to bug 27276