[BUGFIX] Enforce int for timestamp on DateTime mapping 14/56914/2
authorNicole Cordes <typo3@cordes.co>
Thu, 10 May 2018 16:53:41 +0000 (18:53 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 10 May 2018 20:22:51 +0000 (22:22 +0200)
commit28a3f53be71bb44ff3d6fc5d83365f2c3fe8cf70
treeaf54aa1e419e7b3470a97d4d1c348ca05a37589b
parent1c1677bf1ae3efe0134c51884c7bc2b8b9c85ae8
[BUGFIX] Enforce int for timestamp on DateTime mapping

This patch ensures using an integer value for turning a timestamp
to a DateTime object as otherwise a PHP error is thrown.

Resolves: #84962
Releases: master, 8.7, 7.6
Change-Id: I18e82c8f91f42c29c4014985a1ad11671b5a31f4
Reviewed-on: https://review.typo3.org/56914
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php