Skip to content

Commit 0b8df3c

Browse files
authored
Update FilesController.php
1 parent 61431b3 commit 0b8df3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/FilesController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function fileAction(Request $request, string $file): BinaryFileResponse
6060

6161
// Initialize the Contao framework
6262
$this->framework->initialize(true);
63-
FilesModel::findById(null);
63+
6464
// Set the root page for the domain as the pageModel attribute
6565
$root = $this->findFirstPublishedRootByHostAndLanguage($request->getHost(), $request->getLocale());
6666

0 commit comments

Comments
 (0)