summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2007-06-22 16:34:32 +0000
committerUrban Müller2007-06-22 16:34:32 +0000
commit79062cf36819a668a6eb8a7ab458ef3cbaf05ddf (patch)
treeb6e7835e52e9d92ec4f1b4a51d5263ae6eb1faca
parentadb956699853707c7a400f8a3ba5ac848d5f96b3 (diff)
downloaditools-79062cf36819a668a6eb8a7ab458ef3cbaf05ddf.tar.gz
itools-79062cf36819a668a6eb8a7ab458ef3cbaf05ddf.tar.bz2
itools-79062cf36819a668a6eb8a7ab458ef3cbaf05ddf.zip
ignore errors in finding img type
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index ea8f0b1..1966c62 100644
--- a/it.class
+++ b/it.class
@@ -356,7 +356,7 @@ function _exec_quotevalue($value)
function imageconvert($p)
{
$result = false;
- $type = it::replace(array("jpeg" => "jpg", "tiff" => "tif"), image_type_to_extension(exif_imagetype($p['in']), false));
+ $type = it::replace(array("jpeg" => "jpg", "tiff" => "tif"), image_type_to_extension(@exif_imagetype($p['in']), false));
$p += array('type' => $type, 'types' => "gif,jpg,png,bmp,tif,jp2");
if (it::match(",$type,", ",{$p['types']},")) # Valid type?