[TASK] Migrate DatabaseConnection->cleanIntList
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Domain / Repository / Localization / LocalizationRepository.php
index 8c74a08..0ba787f 100644 (file)
@@ -160,7 +160,7 @@ class LocalizationRepository
             $additionalWhere .= ' AND sys_language.hidden=0';
 
             if (!empty($backendUser->user['allowed_languages'])) {
-                $additionalWhere .= ' AND sys_language.uid IN(' . $this->getDatabaseConnection()->cleanIntList($backendUser->user['allowed_languages']) . ')';
+                $additionalWhere .= ' AND sys_language.uid IN(' . implode(',', GeneralUtility::intExplode(',', $backendUser->user['allowed_languages'])) . ')';
             }
         }