@@ -224,7 +224,7 @@ abstract class visa_Abstract extends Database
...
@@ -224,7 +224,7 @@ abstract class visa_Abstract extends Database
$this->errorMessageVisa=null;
$this->errorMessageVisa=null;
$db=newDatabase();
$db=newDatabase();
$stmt=$db->query("SELECT * FROM res_view_attachments WHERE res_id_master = ? AND coll_id = ? AND status NOT IN ('DEL','OBS','TMP') AND attachment_type NOT IN ('converted_pdf','print_folder') ",array($res_id,$coll_id));
$stmt=$db->query("SELECT * FROM res_view_attachments WHERE res_id_master = ? AND coll_id = ? AND status NOT IN ('DEL','OBS','TMP') AND attachment_type NOT IN ('converted_pdf','print_folder', 'incoming_mail_attachment') ",array($res_id,$coll_id));