Skip to content
Snippets Groups Projects
Commit 9ec64125 authored by Thomas Schlumberger's avatar Thomas Schlumberger Committed by Markus Klein
Browse files

[BUGFIX] Fix adding fields to an existing table in a specific position

When trying to add new fields at a specific position to an existing
table (e.g. "after:title") and the field referenced in the position is
part of a palette the regular expression to insert the new fields did
not work.

This happened because a regular expression part was inserted in the
pallete string to replace and being quoted afterwards. That caused the
preg_replace function to treat the regular expression as a string as it
has been escaped.

Resolves: #75946
Releases: master,7.6
Change-Id: Ib0dbcb56e530e1671470210218bd1c1205b50946
Reviewed-on: https://review.typo3.org/47935


Reviewed-by: default avatarNicole Cordes <typo3@cordes.co>
Tested-by: default avatarNicole Cordes <typo3@cordes.co>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent 831c2dee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment