summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/preview/unknown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/unknown.php b/lib/private/preview/unknown.php
index 722bb727f57..91c73c670f0 100644
--- a/lib/private/preview/unknown.php
+++ b/lib/private/preview/unknown.php
@@ -25,7 +25,7 @@ class Unknown extends Provider {
if (extension_loaded('imagick') && file_exists($svgPath)) {
$svg = new \Imagick();
$svg->setBackgroundColor(new \ImagickPixel('transparent'));
- $svg->readImage($path);
+ $svg->readImage($svgPath);
$svg->setImageFormat('png32');
$image = new \OC_Image();