Skip to content

Commit 20912d7

Browse files
committed
Fix default selection template add DNS
1 parent 4d8a99d commit 20912d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/add/dns/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
exec(HESTIA_CMD."v-list-user ".$user." json", $output, $return_var);
180180
$user_config = json_decode(implode('', $output), true);
181181
unset($output);
182-
$v_template = $user_config[$user]['DNS_TEMPLATE'];
182+
$v_template = $user_config[$user_plain]['DNS_TEMPLATE'];
183183

184184
if (empty($_GET['domain'])) {
185185
// Display body for dns domain

0 commit comments

Comments
 (0)