Merge pull request #41120 from nextcloud/imaginaryInvalidStream

pull/41117/head
Simon L 3 years ago committed by GitHub
commit 4c8232f04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/private/Preview/Imaginary.php

@ -78,6 +78,9 @@ class Imaginary extends ProviderV2 {
// Object store
$stream = $file->fopen('r');
if (!$stream || !is_resource($stream) || feof($stream)) {
return null;
}
$httpClient = $this->service->newClient();

Loading…
Cancel
Save