Skip to content

Commit 120d720

Browse files
committed
Fix extra quotes around domain and username
1 parent 1ae3923 commit 120d720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/edit/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@
790790
$hostname = get_hostname();
791791
$from = "noreply@".$hostname;
792792
$from_name = _('Hestia Control Panel');
793-
$mailtext = sprintf(_('FTP_ACCOUNT_READY'), quoteshellarg($_GET['domain']), $user, $v_ftp_username, $v_ftp_user_data['v_ftp_password']);
793+
$mailtext = sprintf(_('FTP_ACCOUNT_READY'), $v_domain, $user_plain, $v_ftp_username, $v_ftp_user_data['v_ftp_password']);
794794
send_email($to, $subject, $mailtext, $from, $from_name);
795795
unset($v_ftp_email);
796796
}

0 commit comments

Comments
 (0)