[BUGFIX] Cast return value of getLivePageUid to int 52/58152/2
authorSusanne Moog <susanne.moog@typo3.org>
Mon, 3 Sep 2018 19:02:47 +0000 (21:02 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 3 Sep 2018 19:57:08 +0000 (21:57 +0200)
commitdb0bf58571863c221f3d8a3382954c0025c70e68
tree8b2824f3ea78b2e505a463642762a858325b8811
parent95c3026d6e8af89760c5418cbf101b1f53d4ccf7
[BUGFIX] Cast return value of getLivePageUid to int

On database systems like sqlite fields like uid or
t3ver_oid are returned as string and need to be casted.

This casting has been added in PreviewUriBuilder
->getLivePageUid.

Resolves: #86119
Releases: master
Change-Id: I7fec760b0aee749e72a640488e1021681471c9ec
Reviewed-on: https://review.typo3.org/58152
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
typo3/sysext/workspaces/Classes/Preview/PreviewUriBuilder.php