Skip to content

Commit

Permalink
Initial commit for 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Aug 17, 2024
1 parent f77efa0 commit 6b62bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/UploadOnSteroids.php
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ private function addFiles($sortBy): void
$container = System::getContainer();
$projectDir = $container->getParameter('kernel.project_dir');
assert(\is_string($projectDir));
$imageFactory = $container->get('contao.image.image_factory');
$imageFactory = $container->get('contao.image.factory');
assert($imageFactory instanceof ImageFactory);
foreach ($statement->fetchAllAssociative() as $file) {
if (null === ($objFile = FilesModel::findByUuid($file['uuid']))) {
Expand Down

0 comments on commit 6b62bea

Please sign in to comment.