[BUGFIX] Enforce int for timestamp on DateTime mapping 09/56909/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:09:50 +0000 (22:09 +0200)
commit439ba967b30a32667e31da6ad5636bd07eabcc2d
tree45344e69f16f08ddf5096f7b814bf0d7447e6fb1
parent669018c624f7ed88256f97842526886d91d9dc62
[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/56909
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
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