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

(-)a/misc/maintenance/borrowers-force-messaging-defaults (-2 / +1 lines)
Lines 56-62 sub force_borrower_messaging_defaults { Link Here
56
56
57
    my $sql = "SELECT borrowernumber, categorycode FROM borrowers WHERE dateenrolled >= ?";
57
    my $sql = "SELECT borrowernumber, categorycode FROM borrowers WHERE dateenrolled >= ?";
58
    if ($not_expired) {
58
    if ($not_expired) {
59
        $sql .= " AND dateexpiry > NOW()"
59
        $sql .= " AND dateexpiry >= NOW()"
60
    }
60
    }
61
    my $sth = $dbh->prepare($sql);
61
    my $sth = $dbh->prepare($sql);
62
    $sth->execute($since);
62
    $sth->execute($since);
63
- 

Return to bug 13572