[BUGFIX] Explicit cast to string for VersionState object 16/52916/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 May 2017 21:12:31 +0000 (23:12 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 May 2017 22:00:40 +0000 (00:00 +0200)
commit47f21fd3f7caba0d714c503a76b3c2ee285e92a7
tree419b1180aeee2a3a149188c8f41b5e389804b681
parentccb6762235060ba1a85f3b284e20efbd70c12671
[BUGFIX] Explicit cast to string for VersionState object

Some DB drivers are picky on their arguments not being
objects. Add an explicit cast to string for a VersionState
object just before it's fed to a query as argument.

Change-Id: I81c8f9dded7068ad7bf817e034aa67a29f28290c
Resolves: #81309
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/52916
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Page/PageRepository.php