Skip to content
Snippets Groups Projects
Commit 044acd4a authored by Damien's avatar Damien
Browse files

[FIX] Remove incoming_mail_attachment from check response project

parent ae5d3dc3
No related branches found
No related tags found
No related merge requests found
...@@ -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 = new Database(); $db = new Database();
$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));
if ($stmt->rowCount() <= 0) { if ($stmt->rowCount() <= 0) {
$this->errorMessageVisa = _NO_RESPONSE_PROJECT_VISA; $this->errorMessageVisa = _NO_RESPONSE_PROJECT_VISA;
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment