[BUGFIX] Use non-deprecated name for filesPerPage option
[Packages/TYPO3.CMS.git] / typo3 / sysext / filelist / Classes / FileList.php
index 375c66a..15be1bf 100644 (file)
@@ -197,7 +197,7 @@ class FileList extends AbstractRecordList
         $this->fileListController = $fileListController;
         $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
 
-        $modTSconfig = BackendUtility::getModTSconfig(0, 'mod.file_list');
+        $modTSconfig = BackendUtility::getModTSconfig(0, 'options.file_list');
         if (!empty($modTSconfig['properties']['filesPerPage'])) {
             $this->iLimit = MathUtility::forceIntegerInRange($modTSconfig['properties']['filesPerPage'], 1);
         }