[BUGFIX] Unused TDParams in ColumnsContentObject() 86/26686/4
authorMichiel Roos <michiel@maxserv.nl>
Tue, 7 Jan 2014 23:12:55 +0000 (00:12 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Mon, 3 Feb 2014 18:53:09 +0000 (19:53 +0100)
TypoScript configuration for TDParams is assigned to the PHP variable
$TDParams which is never used. The rest of the method uses $TDparams.

Change-Id: Ice8cd2ad2b4f1a8d68d62c3f2cfc4cfec3c3c210
Resolves: #54824
Releases: 6.2
Reviewed-on: https://review.typo3.org/26686
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/frontend/Classes/ContentObject/ColumnsContentObject.php

index 10452c4..6e491a9 100644 (file)
@@ -47,7 +47,7 @@ class ColumnsContentObject extends \TYPO3\CMS\Frontend\ContentObject\AbstractCon
                        $tdRowCount = 0;
                        $tableParams = isset($conf['tableParams.']) ? $this->cObj->stdWrap($conf['tableParams'], $conf['tableParams.']) : $conf['tableParams'];
                        $tableParams = $tableParams ? ' ' . $tableParams : ' border="0" cellspacing="0" cellpadding="0"';
-                       $TDParams = isset($conf['TDParams.']) ? $this->cObj->stdWrap($conf['TDParams'], $conf['TDParams.']) : $conf['TDParams'];
+                       $TDparams = isset($conf['TDParams.']) ? $this->cObj->stdWrap($conf['TDParams'], $conf['TDParams.']) : $conf['TDParams'];
                        $TDparams = $TDparams ? ' ' . $TDparams : ' valign="top"';
                        $rows = isset($conf['rows.']) ? $this->cObj->stdWrap($conf['rows'], $conf['rows.']) : $conf['rows'];
                        $rows = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($rows, 2, 20);