diff --git a/data/web/inc/ajax/dns_diagnostics.php b/data/web/inc/ajax/dns_diagnostics.php index 4ee6f92e..b84d01b4 100644 --- a/data/web/inc/ajax/dns_diagnostics.php +++ b/data/web/inc/ajax/dns_diagnostics.php @@ -302,7 +302,7 @@ $data_field = array( %s %s ', $record[0], $record[1], $record[2], $state); + $record[3] = explode('
', $state); } +unset($record); ?> + 0) + $vals[] = sprintf("%s\tIN\t%s\t%s\n", $label, $record[1], $val); + } + } else { + $vals[] = sprintf("%s\tIN\t%s\t%s\n", $label, $record[1], $val); + } + foreach ($vals as $val) { + $data .= str_replace($domain, $domain . '.', $val); + } + } +} +echo 'Download'; +?>

1
diff --git a/data/web/json_api.php b/data/web/json_api.php index a05497a8..f0053680 100644 --- a/data/web/json_api.php +++ b/data/web/json_api.php @@ -551,7 +551,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u break; default: - $data = rsetting('details', $object); + $data = rsettings('details', $object); process_get_return($data); break; } diff --git a/data/web/mailbox.php b/data/web/mailbox.php index 366aea09..18125049 100644 --- a/data/web/mailbox.php +++ b/data/web/mailbox.php @@ -461,7 +461,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];

-
+