mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Planned downtime export csv changed. Ticket #2404
(cherry picked from commit ca1c6c0bf272c12da73aee32b408f96e428260ae)
This commit is contained in:
parent
492dc420f8
commit
f654d6567b
@ -63,7 +63,10 @@ if (!empty($date_from)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($date_to)) {
|
if (!empty($date_to)) {
|
||||||
$periodically_monthly_w = "type_periodicity = 'monthly' AND (periodically_day_from <= '".date('d', strtotime($date_from))."' AND periodically_time_to >= '".date('d', strtotime($date_to))."')";
|
$periodically_monthly_w = "type_periodicity = 'monthly'
|
||||||
|
AND ((periodically_day_from <= '".date('d', strtotime($date_from))."' AND periodically_day_to >= '".date('d', strtotime($date_to))."')
|
||||||
|
OR (periodically_day_from > periodically_day_to
|
||||||
|
AND (periodically_day_from <= '".date('d', strtotime($date_from))."' OR periodically_day_to >= '".date('d', strtotime($date_to))."')))";
|
||||||
|
|
||||||
$periodically_weekly_days = array();
|
$periodically_weekly_days = array();
|
||||||
$date_from_aux = strtotime($date_from);
|
$date_from_aux = strtotime($date_from);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user