diff options
author | Olivier Paroz <oparoz@users.noreply.github.com> | 2014-09-03 12:32:59 +0200 |
---|---|---|
committer | Olivier Paroz <oparoz@users.noreply.github.com> | 2014-09-03 12:32:59 +0200 |
commit | 3bf155e138511da0c548ea4e40dcab5173be5238 (patch) | |
tree | f1572a4bf30a5e8f12665cf2fe8b9b46e2475fcd /lib | |
parent | b559b21dc37228062ba8c3cccd842771d17132ce (diff) | |
download | nextcloud-server-3bf155e138511da0c548ea4e40dcab5173be5238.tar.gz nextcloud-server-3bf155e138511da0c548ea4e40dcab5173be5238.zip |
This is not a PDF, there are no pages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/preview/tiff.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/tiff.php b/lib/private/preview/tiff.php index 52b53b00d1c..c435ec71352 100644 --- a/lib/private/preview/tiff.php +++ b/lib/private/preview/tiff.php @@ -26,7 +26,7 @@ if (extension_loaded('imagick')) { //create imagick object from TIFF try{ - $tiff = new Imagick($tmpPath . '[0]'); + $tiff = new Imagick($tmpPath); $tiff->setImageFormat('png'); } catch (\Exception $e) { \OC_Log::write('core', $e->getmessage(), \OC_Log::ERROR); |