prod to stage
# Conflicts: # includes/filter_header.php # scripts/cron.php # scripts/cron_certificate_refresher.php # scripts/cron_domain_refresher.php # scripts/cron_mail_queue.php # scripts/cron_ticket_email_parser.php
This commit is contained in:
@@ -106,9 +106,13 @@ if ($_GET['canned_date'] == "custom" && !empty($_GET['dtf']) || !empty($_GET['dt
|
||||
} elseif ($_GET['canned_date'] == "lastyear") {
|
||||
$dtf = date('Y-m-d', strtotime("first day of january last year"));
|
||||
$dtt = date('Y-m-d', strtotime("last day of december last year"));
|
||||
}elseif (isset($_GET['canned_date']) && $_GET['canned_date'] === "alltime") {
|
||||
$dtf = '1970-01-01';
|
||||
$dtt = '2099-12-31';
|
||||
} else {
|
||||
$dtf = "NULL";
|
||||
$dtt = date('Y-m-d', strtotime("last day of this month"));
|
||||
// Fallback acts like all time
|
||||
$dtf = '1970-01-01';
|
||||
$dtt = '2099-12-31';
|
||||
}
|
||||
|
||||
// Archived
|
||||
|
||||
Reference in New Issue
Block a user