From af586dd9996752cd9503c29b91ae8b18fdc9beca Mon Sep 17 00:00:00 2001 From: Joe Huss Date: Wed, 21 Aug 2019 15:42:09 -0400 Subject: [PATCH] fix --- src/dns.functions.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dns.functions.inc.php b/src/dns.functions.inc.php index 227f52f..6e96c29 100644 --- a/src/dns.functions.inc.php +++ b/src/dns.functions.inc.php @@ -335,7 +335,10 @@ function add_dns_domain($domain, $ip) if ($result) { if ($db->num_rows() > 0) { $db->next_record(MYSQLI_ASSOC); - $return['status_text'] = 'That Domain Is Already Setup On Our Servers under '.$GLOBALS['tf']->accounts->cross_reference($db->Record['account']).', Try Another Or Contact support@interserver.net'; + if ($GLOBALS['tf']->ima == 'admin') + $return['status_text'] = 'That Domain Is Already Setup On Our Servers under '.$GLOBALS['tf']->accounts->cross_reference($db->Record['account']).', Try Another Or Contact support@interserver.net'; + else + $return['status_text'] = 'That Domain Is Already Setup On Our Servers, Try Another Or Contact support@interserver.net'; return $return; } }