Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Aug 21, 2019
1 parent 4d88fc3 commit af586dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dns.functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]';
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 [email protected]';
else
$return['status_text'] = 'That Domain Is Already Setup On Our Servers, Try Another Or Contact [email protected]';
return $return;
}
}
Expand Down

0 comments on commit af586dd

Please sign in to comment.