[BUGFIX] Fix negative pid when doing a positioned insert 00/50400/2
authorMarco Huber <mail@marco-huber.de>
Thu, 24 Mar 2016 11:16:42 +0000 (12:16 +0100)
committerJan Helke <typo3@helke.de>
Thu, 27 Oct 2016 10:04:14 +0000 (12:04 +0200)
commit84eba275f1360187b56abb0f51ac141608f81880
tree0f6c5ce23dc1acaa3c8dcc1639eb768a2cac134a
parent877970538412a77dc1cf319d96a035798f92a9aa
[BUGFIX] Fix negative pid when doing a positioned insert

If you insert a content element (or a page) at a concrete position f.e.
after content element 15 the value in $row['pid'] is -15.
This pseudo pid has to be converted to the real pid to get the right
page TsConfig.

Resolves: #75254
Related: #72751
Releases: master, 7.6
Change-Id: Ia2c7a34bf6c825709ca51aa32b84a5fc660817c3
Reviewed-on: https://review.typo3.org/50400
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/backend/Classes/Controller/LinkBrowserController.php