#84588Int values for field will be converted to unix timestamp in module "DB check" -> Full search
Description
With the change in https://forge.typo3.org/issues/83675 every value will be converted into a unix timestamp even if you specify e.g. a UID or PID.
Example:
PID: 5134
This will bring back 99854182152 and the if condition is true in the introduced code:
if (strtotime($conf['inputValue'])) {
$conf['inputValue'] = strtotime($conf['inputValue']);
if ($conf['inputValue1'] && strtotime($conf['inputValue1'])) {
$conf['inputValue1'] = strtotime($conf['inputValue1']);
}
}Reviews 5
- TYPO3_8-7 68770[BUGFIX] Check date format before conversion in module "DB check"
- 9.5 61674[BUGFIX] Check for plain integer values in QueryGenerator::cleanInputVal()
- main 61670[BUGFIX] Check for plain integer values in QueryGenerator::cleanInputVal()
- main 56530[BUGFIX] Check date format before conversion in module "DB check"
- 9.5 61609[BUGFIX] Check date format before conversion in module "DB check"