[BUGFIX] Refine new styling of page module
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / View / PageLayoutView.php
index 0ab664a..813ee45 100644 (file)
@@ -409,13 +409,13 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                }
                                $languageColumn = array();
                        }
-                       $langListArr = explode(',', $langList);
+                       $langListArr = \TYPO3\CMS\Core\Utility\GeneralUtility::intExplode(',', $langList);
                        $defLanguageCount = array();
                        $defLangBinding = array();
                        // For each languages... :
                        // If not languageMode, then we'll only be through this once.
                        foreach ($langListArr as $lP) {
-                               $showLanguage = ' AND sys_language_uid IN (' . $lP . ',-1)';
+                               $showLanguage = ' AND sys_language_uid IN (' . intval($lP) . ',-1)';
                                $cList = explode(',', $this->tt_contentConfig['cols']);
                                $content = array();
                                $head = array();