We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a3de9b commit 1168660Copy full SHA for 1168660
1 file changed
web/add/dns/index.php
@@ -127,7 +127,8 @@
127
if (empty($_SESSION['error_msg'])) {
128
exec (HESTIA_CMD."v-add-dns-record ".$user." ".$v_domain." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority." '' false ".$v_ttl, $output, $return_var);
129
check_return_code($return_var,$output);
130
- unset($output);
+ unset($output);
131
+
132
}
133
$v_type = $_POST['v_type'];
134
@@ -179,6 +180,9 @@
179
180
} else {
181
// Display body for dns record
182
$v_domain = $_GET['domain'];
183
+ if (empty($v_rec)){
184
+ $v_rec = '@';
185
+ }
186
render_page($user, $TAB, 'add_dns_rec');
187
188
0 commit comments