Skip to content

Commit f5d2e9b

Browse files
authored
Update translations (hestiacp#3878)
* Fix minor over side in edit server * Update .pot file * Update translations
1 parent a067450 commit f5d2e9b

File tree

41 files changed

+276
-271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+276
-271
lines changed

web/edit/server/index.php

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -621,19 +621,22 @@
621621
$v_db_adv = "yes";
622622
}
623623
}
624-
625-
// Update webmail url
626-
if (empty($_SESSION["error_msg"])) {
627-
if ($_SESSION["WEBMAIL_SYSTEM"] != "") {
628-
if ($_POST["v_webmail_alias"] != $_SESSION["WEBMAIL_ALIAS"]) {
629-
exec(
630-
HESTIA_CMD . "v-change-sys-webmail " . quoteshellarg($_POST["v_webmail_alias"]),
631-
$output,
632-
$return_var,
633-
);
634-
check_return_code($return_var, $output);
635-
unset($output);
636-
$v_mail_adv = "yes";
624+
if (!empty($_SESSION["MAIL_SYSTEM"])) {
625+
// Update webmail url
626+
if (empty($_SESSION["error_msg"])) {
627+
if ($_SESSION["WEBMAIL_SYSTEM"] != "") {
628+
if ($_POST["v_webmail_alias"] != $_SESSION["WEBMAIL_ALIAS"]) {
629+
exec(
630+
HESTIA_CMD .
631+
"v-change-sys-webmail " .
632+
quoteshellarg($_POST["v_webmail_alias"]),
633+
$output,
634+
$return_var,
635+
);
636+
check_return_code($return_var, $output);
637+
unset($output);
638+
$v_mail_adv = "yes";
639+
}
637640
}
638641
}
639642
}
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)