From 15b44e4cf5bb7919b3c5b87cc4e12eb444730196 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ma=C3=AFeul=20Rouquette?= <maieul@maieul.net>
Date: Fri, 15 Sep 2023 22:15:47 +0200
Subject: [PATCH] =?UTF-8?q?fix:=20pour=20r=C3=A9cuperer=20un=20fichier=20p?=
 =?UTF-8?q?ar=20email,=20s'assurer=20qu'on=20ait=20soit=20un=20id=5Fformul?=
 =?UTF-8?q?aires=5Freponse,=20soit=20un=20timestamp?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc/formidable_fichiers.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inc/formidable_fichiers.php b/inc/formidable_fichiers.php
index 1abb3f1c..2716ded7 100644
--- a/inc/formidable_fichiers.php
+++ b/inc/formidable_fichiers.php
@@ -536,6 +536,8 @@ function formidable_generer_url_action_recuperer_fichier_email($saisie, $fichier
 			'fichier' => $fichier,
 			'saisie' => $saisie
 		]);
+	} else {
+		return '';
 	}
 	$arg = base64_encode($arg);
 	$pass = secret_du_site();
-- 
GitLab