From cdb871b82b072d5fee5cab46ff0d88797a119f20 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Thu, 12 Nov 2020 08:54:52 +0100 Subject: [PATCH] fix delete_userfiles flag not being passed via webinterface email-address-overview Signed-off-by: Michael Kaufmann --- customer_email.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/customer_email.php b/customer_email.php index f65c0bf0..33ba1b04 100644 --- a/customer_email.php +++ b/customer_email.php @@ -153,7 +153,8 @@ if ($page == 'overview') { if (isset($_POST['send']) && $_POST['send'] == 'send') { try { Emails::getLocal($userinfo, array( - 'id' => $id + 'id' => $id, + 'delete_userfiles' => ($_POST['delete_userfiles'] ?? 0) ))->delete(); } catch (Exception $e) { \Froxlor\UI\Response::dynamic_error($e->getMessage());