diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-09-25 13:11:32 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-10-07 13:19:21 +0200 |
commit | e078fc3eda708d2182740935f468f93f1efa6815 (patch) | |
tree | 138041e57fa8e6753f69798de21779a79ce90f4f /lib/private/preview | |
parent | 3b5dc51be4493451b61feb1c5dc4a7eb396b7050 (diff) | |
download | nextcloud-server-e078fc3eda708d2182740935f468f93f1efa6815.tar.gz nextcloud-server-e078fc3eda708d2182740935f468f93f1efa6815.zip |
fix wrong variable name
Diffstat (limited to 'lib/private/preview')
-rw-r--r-- | lib/private/preview/unknown.php | 2 |
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(); |