andre пре 5 месеци
родитељ
комит
658e687449
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      app/UI/Client/Setting/Forms/InfoForm.php
  2. 1 1
      app/UI/Client/Setting/Pages/Settings.php

+ 1 - 0
app/UI/Client/Setting/Forms/InfoForm.php

@@ -32,6 +32,7 @@ class InfoForm extends BaseForm implements ClientArea
     {
         $this->setConfirmMessage("DNS Information");
         $this->addInternalAlert('Test', 'info', 100);
+        $this->addField(new Hidden("id"));
         $this->addField(new Hidden("selfdns"));
         $this->addField(new Hidden("selfdomain"));
         $this->addField(new Text("mxactive"));

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

@@ -262,7 +262,7 @@ class Settings extends DataTable implements ClientArea
             }
             in_array($this->domainKey, $dnsRecords['dkim']) ? $dkim = 'set' : $dkim = 'unset';
             $tmp = [
-                'domain' => $domain,
+                'id' => $domain,
                 'mxactive' => $mx,
                 'spf' => $spf,
                 'dmarc' => $dmarc,