Signed-off-by: Glandos <bugs-github@antipoul.fr>
pull/35129/head
Glandos 3 years ago committed by Simon L
parent 9b4d5146d5
commit b6c65fee2a
  1. 2
      lib/private/Preview/Generator.php

@ -665,7 +665,7 @@ class Generator {
*/
private function getCachedPreview($files, $width, $height, $crop, $mimeType, $prefix) {
$path = $this->generatePath($width, $height, $crop, $mimeType, $prefix);
foreach($files as $file) {
foreach ($files as $file) {
if ($file->getName() === $path) {
return $file;
}

Loading…
Cancel
Save