From adc77f744fdf0607cfcc32d7d9d6edcc43d7a80d Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Wed, 3 Jan 2018 14:59:27 +0100
Subject: [PATCH] FIX #6817 Remove res_view_letterbox

---
 modules/visa/Controllers/VisaController.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/visa/Controllers/VisaController.php b/modules/visa/Controllers/VisaController.php
index e4b2bb0387d..890f498e8f7 100755
--- a/modules/visa/Controllers/VisaController.php
+++ b/modules/visa/Controllers/VisaController.php
@@ -127,8 +127,7 @@ class VisaController
 
         $incomingMail = ResModel::getById([
             'resId'     => $resId,
-            'select'    => ['res_id', 'subject'],
-            'resTable'  => 'res_view_letterbox'
+            'select'    => ['res_id', 'subject']
         ]);
 
         if (empty($incomingMail)) {
-- 
GitLab