Skip to content
Snippets Groups Projects
Commit a846c92f authored by Daniel Goerz's avatar Daniel Goerz Committed by Andreas Fernandez
Browse files

[BUGFIX] Render correct colPos in section menus again

Resolves: #73521
Related: #71733
Releases: master, 7.6
Change-Id: Iddaea99304a3ab2ae69153a4da12c210adeda6f1
Reviewed-on: https://review.typo3.org/46745


Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
parent 96a1c1c9
Branches
Tags
No related merge requests found
......@@ -108,7 +108,7 @@ class SectionViewHelper extends AbstractViewHelper
$constraints = [];
if (trim($column) !== '') {
$colPosList = implode(',', GeneralUtility::intExplode(',', $column, true));
$constraints[] = 'colPos IN(' . ($colPosList !== '' ?: '0') . ')';
$constraints[] = 'colPos IN(' . ($colPosList !== '' ? $colPosList : '0') . ')';
}
switch ($type) {
......
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