|
@@ -152,7 +152,7 @@ class Settings extends DataTable implements ClientArea
|
|
|
$data = [];
|
|
$data = [];
|
|
|
|
|
|
|
|
foreach($domains as $domain){
|
|
foreach($domains as $domain){
|
|
|
- in_array($domain,$clientDomains) ? $selfdomain = 'set' : $selfdomain = 'unset';
|
|
|
|
|
|
|
+ in_array($domain,$clientDomains) ? $selfdomain = 1 : $selfdomain = 0;
|
|
|
$dnsRecords = $dns->getRecords($domain);
|
|
$dnsRecords = $dns->getRecords($domain);
|
|
|
$dnsRecords['selfdns'] ? $selfDns = 1 : $selfDns = 0;
|
|
$dnsRecords['selfdns'] ? $selfDns = 1 : $selfDns = 0;
|
|
|
if(empty($dnsRecords['mx'])){
|
|
if(empty($dnsRecords['mx'])){
|