mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Domain expiration dates
- Update logic in post when adding/editing a domain to better account for null values - Update logic in cron domain refresher to account for null values - Prevent cron domain refresher getting stuck on a single domain - Exclude domains with no expiration date from the cron nightly renewal alerts
This commit is contained in:
2
cron.php
2
cron.php
@@ -138,7 +138,7 @@ if($config_enable_alert_domain_expire == 1){
|
||||
$mysqli,
|
||||
"SELECT * FROM domains
|
||||
LEFT JOIN clients ON domain_client_id = client_id
|
||||
WHERE domain_expire = CURDATE() + INTERVAL $day DAY"
|
||||
WHERE domain_expire IS NOT NULL AND domain_expire = CURDATE() + INTERVAL $day DAY"
|
||||
);
|
||||
|
||||
while ($row = mysqli_fetch_array($sql)) {
|
||||
|
||||
Reference in New Issue
Block a user