From 882cfa59a66ebf082aa496177292887fb18819a1 Mon Sep 17 00:00:00 2001
From: Christian Weber
Date: Thu, 7 Jun 2007 14:41:52 +0000
Subject: converted to standard syntax

---
 it.class | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/it.class b/it.class
index 2258c7d..ae4bc87 100644
--- a/it.class
+++ b/it.class
@@ -355,7 +355,7 @@ function imageconvert($p)
 	$p += array('type' => $type, 'types' => "gif,jpg,png,bmp,tif,jp2");
 
 	if (it::match(",$type,", ",{$p['types']},"))	# Valid type?
-		$result = it::exec("convert 2>&1 -flatten {-opts} {in} {type}:{out}", '-opts' => array('-thumbnail' => $p['size']), $p) === "";
+		$result = it::exec("convert 2>&1 -flatten {-opts} {in} {type}:{out}", array('-opts' => array('-thumbnail' => $p['size'])), $p) === "";
 
 	return $result;
 }
-- 
cgit v1.2.3