[BUGFIX] Do not fix uniqueInPid for empty values 21/38421/2
authorMarkus Klein <klein.t3@reelworx.at>
Wed, 1 Apr 2015 20:17:53 +0000 (22:17 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 1 Apr 2015 20:18:39 +0000 (22:18 +0200)
commit2a00b4582d626d7a3d9a4ab13dd90615d520fffd
treefde0d9d8b43713d9a310c76c9efc44b29785c0ea
parent05ee513e6c90692b7df5fd92e2f78704a4f9b770
[BUGFIX] Do not fix uniqueInPid for empty values

This patch adds the necessary condition to avoid creating useless
values in fields that have eval=uniqueInPid.
The behaviour is triggered when moving records around in BE.

This empty-check is already present in other places, but was
obviously forgotten to be added to fixUniqueInPid().

Releases: master, 6.2
Resolves: #59224
Change-Id: Ie7d99f40facfd603c783f3dcca30b8f8b253fe09
Reviewed-on: http://review.typo3.org/38421
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/DataHandling/DataHandler.php