[BUGFIX] Fix negativ pid when doing a positioned insert 69/45969/2
authorMarco Huber <mail@marco-huber.de>
Fri, 15 Jan 2016 20:20:20 +0000 (21:20 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 16 Jan 2016 16:07:13 +0000 (17:07 +0100)
commit52b3f406c3ad16808c66cadd54d53657e4c2dce8
treec9d70a0f515cd9ee38e8200f4424441e0b597c0c
parent31009f1eac7e9e90278ff99658f21b34f5ce43d9
[BUGFIX] Fix negativ 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.
But in $this->data we already have the real pid, so we can just use it.

Resolves: #72751
Releases: master,7.6
Change-Id: Ib441dacf68eebd377f48589b7aeff6af1159263d
Reviewed-on: https://review.typo3.org/45969
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php