throw new \InvalidArgumentException("Object list is no instance of '".UserList::class."', instance of '".get_class($objectList)."' given.");
}
- if ($conditionData['greaterThan'] !== null) {
+ if (isset($conditionData['greaterThan'])) {
$objectList->getConditionBuilder()->add('user_table.registrationDate < ?', [TIME_NOW - $conditionData['greaterThan'] * 86400]);
}
- if ($conditionData['lessThan'] !== null) {
+ if (isset($conditionData['lessThan'])) {
$objectList->getConditionBuilder()->add('user_table.registrationDate > ?', [TIME_NOW - $conditionData['lessThan'] * 86400]);
}
}