diff --git a/module/Application/src/Application/Entity/Db/EtatSortie.php b/module/Application/src/Application/Entity/Db/EtatSortie.php
index fda484c7800acc5cccc4b556339b80f49e311a5c..25e1abfc420aa685dcaae93e42484bb32cfa2b1d 100644
--- a/module/Application/src/Application/Entity/Db/EtatSortie.php
+++ b/module/Application/src/Application/Entity/Db/EtatSortie.php
@@ -352,7 +352,7 @@ class EtatSortie
     public function getPdfTraitement()
     {
         $fichierGenerique = getcwd() . '/' . $this->pdfTraitement;
-        if (strlen($fichierGenerique) < 512 && file_exists($fichierGenerique)) {
+        if ($this->pdfTraitement && strlen($fichierGenerique) < 512 && file_exists($fichierGenerique)) {
             $this->pdfTraitement = substr(file_get_contents($fichierGenerique), 5);
         }
 
@@ -381,7 +381,7 @@ class EtatSortie
     public function getCsvTraitement()
     {
         $fichierGenerique = getcwd() . '/' . $this->csvTraitement;
-        if (strlen($fichierGenerique) < 512 && file_exists($fichierGenerique)) {
+        if ($this->csvTraitement && strlen($fichierGenerique) < 512 && file_exists($fichierGenerique)) {
             $this->csvTraitement = substr(file_get_contents($fichierGenerique), 5);
         }