summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 7a13bbd..32b6a13 100644
--- a/it.class
+++ b/it.class
@@ -485,7 +485,7 @@ function imageconvert($p)
$result = false;
$imagetype = @exif_imagetype($p['in']);
- if (!$imagetype && get_class(it_xml::create(@fopen($p['in'], "r"), array('prefix' => "_imageconvert_"))) == "_imageconvert_svg")
+ if (!$imagetype && @get_class(it_xml::create(fopen($p['in'], "r"), array('prefix' => "_imageconvert_"))) == "_imageconvert_svg")
{
# Accept SVG files if they are valid XML and root tag is svg
$type = "svg";