use extension
authorAlan Knowles <alan@roojs.com>
Thu, 27 May 2021 06:41:18 +0000 (14:41 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 27 May 2021 06:41:18 +0000 (14:41 +0800)
File/Convert/Solution/acmecadconverter.php

index 0a54c22..1ef01f7 100644 (file)
@@ -99,7 +99,7 @@ class File_Convert_Solution_acmecadconverter extends File_Convert_Solution
         chdir($uinfo['dir'] . '/.wine/drive_c');
         
         $format = 2;
-        if ($this->to == 'images/svg+xml') {
+        if ($this->ext == 'svg') {
             $format = 101;
         }