Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set default value for years; min() and max() return values, not arrays
PHP Warning: min(): Array must contain at least one element in …/classes/DateRangeParameter.php on line 37, referer: http://…/reports/ PHP Warning: max(): Array must contain at least one element in …/classes/DateRangeParameter.php on line 38, referer: http://…/reports/ PHP Fatal error: Uncaught InvalidArgumentException: invalid date range: 1/NULL -> 12/NULL in …/classes/DateRangeParameter.php:82 Stack trace: #0 …/classes/DateRangeParameter.php(87): DateRangeParameter->validateRange(Array) #1 …/classes/DateRangeParameter.php(49): DateRangeParameter->encode(Array) #2 …/reports/report.php(41): DateRangeParameter->process() #3 {main} thrown in …/classes/DateRangeParameter.php on line 82, referer: http://…/reports/
- Loading branch information