From 6787012213a35708a8beda4e47145ec0f20680c7 Mon Sep 17 00:00:00 2001
From: Markus Klein <markus.klein@typo3.org>
Date: Fri, 25 Sep 2015 16:32:29 +0200
Subject: [PATCH] [BUGFIX] Save+new preserves ctype

The new record preserves the ctype of the current record.

Resolves: #70120
Releases: master
Change-Id: I3e809f0cdcbcc5d091f447d4ffad83c9e6d88377
Reviewed-on: http://review.typo3.org/43573
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
---
 typo3/sysext/frontend/Configuration/TCA/tt_content.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/frontend/Configuration/TCA/tt_content.php b/typo3/sysext/frontend/Configuration/TCA/tt_content.php
index 073be892106c..2bb90003dbb6 100644
--- a/typo3/sysext/frontend/Configuration/TCA/tt_content.php
+++ b/typo3/sysext/frontend/Configuration/TCA/tt_content.php
@@ -18,7 +18,7 @@ return array(
 		'hideAtCopy' => TRUE,
 		'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
 		'copyAfterDuplFields' => 'colPos,sys_language_uid',
-		'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
+		'useColumnsForDefaultValues' => 'colPos,sys_language_uid,CType',
 		'shadowColumnsForNewPlaceholders' => 'colPos',
 		'transOrigPointerField' => 'l18n_parent',
 		'transOrigDiffSourceField' => 'l18n_diffsource',
-- 
GitLab