This messes up my error_reporting setting... Could you change it to this?
PHP Code:
$err_old = error_reporting(0);
if (file_exists($sattachment['attachment_folder_id']))
{
...
}
error_reporting($err_old);
Did this by myself but maybe you might want to include this in the next update, since it's more generic and respects the administrator's own settings.
@see
http://de3.php.net/manual/en/functio...-reporting.php