From 2bff53e881e882b755f82ef0ea244d6bd6325b26 Mon Sep 17 00:00:00 2001 From: dpeca Date: Sun, 9 Apr 2017 02:54:35 +0200 Subject: [PATCH] Minor fixes for Sending mail credentials to email --- web/add/mail/index.php | 1 - web/templates/admin/add_mail_acc.html | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/web/add/mail/index.php b/web/add/mail/index.php index 8769c4638..b260b465d 100644 --- a/web/add/mail/index.php +++ b/web/add/mail/index.php @@ -112,7 +112,6 @@ if (!empty($_POST['ok_acc'])) { $v_fwd = $_POST['v_fwd']; if (empty($_POST['v_quota'])) $v_quota = 0; if ((!empty($_POST['v_quota'])) || (!empty($_POST['v_aliases'])) || (!empty($_POST['v_fwd'])) ) $v_adv = 'yes'; - $v_quota = escapeshellarg($_POST['v_quota']); // Add Mail Account if (empty($_SESSION['error_msg'])) { diff --git a/web/templates/admin/add_mail_acc.html b/web/templates/admin/add_mail_acc.html index 110a7ed98..f0e6e1acd 100644 --- a/web/templates/admin/add_mail_acc.html +++ b/web/templates/admin/add_mail_acc.html @@ -196,15 +196,15 @@ :
- + :
- +