summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorChristian Weber2007-06-07 14:41:52 +0000
committerChristian Weber2007-06-07 14:41:52 +0000
commit882cfa59a66ebf082aa496177292887fb18819a1 (patch)
treec9bbd03a4fe34df8f7f34a60dfedf0e4b69ad58f /it.class
parent37df0debbca70a5dcfe05aa47e3ffad1faa6fca0 (diff)
downloaditools-882cfa59a66ebf082aa496177292887fb18819a1.tar.gz
itools-882cfa59a66ebf082aa496177292887fb18819a1.tar.bz2
itools-882cfa59a66ebf082aa496177292887fb18819a1.zip
converted to standard syntax
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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;
}