From 4a032b0a5ee90d3ec30b9be70cd89a15fc3f0b70 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 29 Jan 2010 00:30:05 +0000 Subject: Convert it.class back to old syntax --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 7254fea..7a15e08 100644 --- a/it.class +++ b/it.class @@ -522,7 +522,7 @@ static function imageconvert($p) list(, $type) = explode(' ', strtolower(it::exec('identify 2>/dev/null {in}', $p))); # for things like eps } - $type = strtr($type, "jpeg" => "jpg", "tiff" => "tif", "ps" => "eps", "ept" => "eps"); + $type = strtr($type, array("jpeg" => "jpg", "tiff" => "tif", "ps" => "eps", "ept" => "eps")); $p += array('type' => $type, 'types' => "bmp,eps,gif,jp2,jpg,png,svg,tif"); $p['-opts'] = array('-thumbnail' => $p['size']) + (array)$p['-opts']; -- cgit v1.2.3