Skip to content

Commit b3f66f6

Browse files
authored
Fix some small bugs in UI (hestiacp#3331)
* Remove extra quotes arround hostname and user Reported via Email * Remove extra >
1 parent 80bfd76 commit b3f66f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/edit/web/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,8 +1336,8 @@
13361336
$from_name = _("Hestia Control Panel");
13371337
$mailtext = sprintf(
13381338
_("FTP_ACCOUNT_READY"),
1339-
quoteshellarg($_GET["domain"]),
1340-
$user,
1339+
$v_domain,
1340+
$user_plain,
13411341
$v_ftp_username_for_emailing,
13421342
$v_ftp_user_data["v_ftp_password"],
13431343
);

web/templates/pages/edit_server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ class="form-select"
12271227
name="v_policy_user_edit_details"
12281228
id="v_policy_user_edit_details"
12291229
>
1230-
<option value="yes">>
1230+
<option value="yes">
12311231
<?= _("Yes") ?>
12321232
</option>
12331233
<option value="no" <?= $_SESSION["POLICY_USER_EDIT_DETAILS"] == "no" ? "selected" : "" ?>>

0 commit comments

Comments
 (0)