Explorar o código

new settings section

andre hai 5 meses
pai
achega
6451ff9f91

+ 1 - 1
app/UI/Client/Setting/Buttons/EditSettingButton.php

@@ -27,7 +27,7 @@ class EditSettingButton extends ButtonDataTableModalAction implements ClientArea
     public function initContent()
     {
         $this->initIds('editSettingButton');
-        $this->setDisableByColumnValue("selfdns", 'unset');
+        $this->setDisableByColumnValue("selfdns", 0);
         $this->initLoadModalAction(new EditSettingModal());
     }
 

+ 1 - 1
app/UI/Client/Setting/Pages/Settings.php

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