Project

General

Profile

Bug #62284 » 20141016-formengine.txt

Nils Blattner, 2014-10-16 16:41

 
--- typo3_src-6.2.4/typo3/sysext/backend/Classes/Form/FormEngine.php 2014-07-08 15:05:31.000000000 +0200
+++ /Volumes/nb/mounts/ewz.ch-1108-cabvh041.nine.ch/ewz.ch/typo3/sysext/backend/Classes/Form/FormEngine.php 2014-10-16 14:51:21.000000000 +0200
@@ -833,7 +833,7 @@
$fields = GeneralUtility::trimExplode(',', $itemList, TRUE);
$excludeElements = ($this->excludeElements = $this->getExcludeElements($table, $row, $typeNum));
foreach ($fields as $fieldInfo) {
- $parts = explode(';', $fieldInfo);
+ $parts = GeneralUtility::trimExplode(';', $fieldInfo);
$theField = trim($parts[0]);
if (!in_array($theField, $excludeElements) && (string)$theField === (string)$theFieldToReturn) {
if ($GLOBALS['TCA'][$table]['columns'][$theField]) {
(2-2/2)