[BUGFIX] Cast pageId to integer before storing a preset in EXT:impexp 27/46027/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 16 Jan 2016 17:07:30 +0000 (18:07 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 16 Jan 2016 18:22:51 +0000 (19:22 +0100)
commit436c0dc3c664a128cf52958a36da6230cbb22e0d
tree8db6423773c36fb1ff63a192dbe118ad90a26e28
parentcb19aaf0b67066e08376281954c217a1826ed496
[BUGFIX] Cast pageId to integer before storing a preset in EXT:impexp

When storing a export preset in EXT:impexp no pageId is being set when
exporting a single table or record instead of a pagetree branch. Cast
the value for the pageId to integer to avoid MySQL strict mode errors.

Resolves: #72773
Releases: master, 7.6
Change-Id: Id8af258f96680201adaebeb82f488818a3013720
Reviewed-on: https://review.typo3.org/46027
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php