Skip to content

Commit 378eed4

Browse files
committed
Fix return message + remove double unset
1 parent 25937dd commit 378eed4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/add/mail/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,9 @@
276276

277277
// Flush field values on success
278278
if (empty($_SESSION['error_msg'])) {
279-
$_SESSION['ok_msg'] = sprintf(_('MAIL_ACCOUNT_CREATED_OK'),htmlentities(strtolower($_POST['v_account'])),htmlentities($_POST[v_domain]),htmlentities(strtolower($_POST['v_account'])),htmlentities($_POST[v_domain]));
279+
$_SESSION['ok_msg'] = sprintf(_('MAIL_ACCOUNT_CREATED_OK'),htmlentities(strtolower($_POST['v_account'])),htmlentities($_POST['v_domain']),htmlentities(strtolower($_POST['v_account'])),htmlentities($_POST['v_domain']));
280280
unset($v_account);
281281
unset($v_password);
282-
unset($v_password);
283282
unset($v_aliases);
284283
unset($v_fwd);
285284
unset($v_quota);

0 commit comments

Comments
 (0)