]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix wrong variable name
authorGeorg Ehrke <developer@georgehrke.com>
Wed, 25 Sep 2013 11:11:32 +0000 (13:11 +0200)
committerMorris Jobke <morris.jobke@gmail.com>
Mon, 7 Oct 2013 11:19:21 +0000 (13:19 +0200)
lib/private/preview/unknown.php

index 722bb727f57150fb6f96e07469ac729855e0494c..91c73c670f0232826507eca111412a5fd0c358f7 100644 (file)
@@ -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();