Commit 7f806750 authored by jaapjansma's avatar jaapjansma
Browse files

fixed issue with is active field output handler

parent b81df9e3
......@@ -8,7 +8,7 @@
* Added Union Query Data Flow.
* Added a field specification for a fixed value
* Fixed #24
* Improved export/import functionality.
* Improved export/import functionality.
# Version 1.3.0
......
......@@ -156,6 +156,7 @@ class IsActiveFieldOutputHandler extends AbstractFieldOutputHandler {
}
$today = new \DateTime();
if (
($value) &&
(!$startDate || $startDate->format(('Ymd') <= $today->format('Ymd'))) &&
(!$endDate || $endDate->format(('Ymd') >= $today->format('Ymd')))
) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment