diff --git a/customer_domains.php b/customer_domains.php index f9432f1b..fd8a0425 100644 --- a/customer_domains.php +++ b/customer_domains.php @@ -920,7 +920,7 @@ if ($page == 'overview') { eval("echo \"" . getTemplate("domains/domain_ssleditor") . "\";"); } -} elseif ($page == 'domaindnseditor' && Settings::Get('system.dnsenabled') == '1') { +} elseif ($page == 'domaindnseditor' && $userinfo['dnsenabled'] == '1' && Settings::Get('system.dnsenabled') == '1') { require_once __DIR__.'/dns_editor.php'; }